Home
last modified time | relevance | path

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

/external/v8/src/runtime/
Druntime-regexp.cc208 int capture_ref = c2 - '0'; in ParseReplacementPattern() local
209 if (capture_ref > capture_count) { in ParseReplacementPattern()
218 int double_digit_ref = capture_ref * 10 + c3 - '0'; in ParseReplacementPattern()
221 capture_ref = double_digit_ref; in ParseReplacementPattern()
225 if (capture_ref > 0) { in ParseReplacementPattern()
230 DCHECK(capture_ref <= capture_count); in ParseReplacementPattern()
231 parts->push_back(ReplacementPart::SubjectCapture(capture_ref)); in ParseReplacementPattern()