Lines Matching refs:submatch
225 // cares about submatch information, but the one-pass
330 // Returns the maximum submatch needed for the rewrite to be done by Replace().
529 StringPiece* submatch,
675 // If only a small amount of text and need submatch
721 submatch[0] = match;
731 // to find submatch locations.
742 if (!prog_->SearchOnePass(subtext1, text, anchor, kind, submatch, ncap)) {
753 kind, submatch, ncap)) {
763 if (!prog_->SearchNFA(subtext1, text, anchor, kind, submatch, ncap)) {
773 submatch[0] = StringPiece(submatch[0].begin() - prefixlen,
774 submatch[0].size() + prefixlen);
778 submatch[i] = NULL;