Home
last modified time | relevance | path

Searched refs:capture_ref (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/runtime/
Druntime-regexp.cc154 int capture_ref = c2 - '0'; in ParseReplacementPattern() local
155 if (capture_ref > capture_count) { in ParseReplacementPattern()
164 int double_digit_ref = capture_ref * 10 + c3 - '0'; in ParseReplacementPattern()
167 capture_ref = double_digit_ref; in ParseReplacementPattern()
171 if (capture_ref > 0) { in ParseReplacementPattern()
176 DCHECK(capture_ref <= capture_count); in ParseReplacementPattern()
177 parts->Add(ReplacementPart::SubjectCapture(capture_ref), zone); in ParseReplacementPattern()