Lines Matching refs:submatch
85 StringPiece submatch[kMaxSubmatch]; member
307 result->submatch, nsubmatch); in RunSearch()
318 result->submatch, nsubmatch); in RunSearch()
337 prog_->SearchDFA(text, context, anchor, kind_, result->submatch, in RunSearch()
342 if (!rprog_->SearchDFA(result->submatch[0], context, in RunSearch()
344 result->submatch, in RunSearch()
363 result->submatch, nsubmatch); in RunSearch()
373 result->submatch, nsubmatch); in RunSearch()
396 re_anchor, result->submatch, nsubmatch); in RunSearch()
411 a[i] = PCRE::Arg(&result->submatch[i]); in RunSearch()
441 if (result->submatch[i].begin() == text.begin() - 1) in RunSearch()
442 result->submatch[i] = NULL; in RunSearch()
450 memset(result->submatch, 0, sizeof result->submatch); in RunSearch()
463 if (correct.submatch[i].begin() != r.submatch[i].begin() || in ResultOkay()
464 correct.submatch[i].size() != r.submatch[i].size()) in ResultOkay()
529 if (r.submatch[i].begin() != correct.submatch[i].begin() || in RunCase()
530 r.submatch[i].end() != correct.submatch[i].end()) { in RunCase()
534 FormatCapture(text, correct.submatch[i]).c_str(), in RunCase()
535 FormatCapture(text, r.submatch[i]).c_str()); in RunCase()
539 FormatCapture(text, r.submatch[i]).c_str()); in RunCase()