Lines Matching refs:rewrite
338 // Replace the first match of "pattern" in "str" with "rewrite".
339 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
341 // from the pattern. \0 in "rewrite" refers to the entire matching
353 const StringPiece& rewrite);
356 // of the pattern in the string with the rewrite. E.g.
370 const StringPiece& rewrite);
372 // Like Replace, except that if the pattern matches, "rewrite"
380 const StringPiece &rewrite,
460 // Check that the given rewrite string is suitable for use with this
463 // to satisfy all of the \N tokens in rewrite
464 // * The rewrite string doesn't have any syntax errors. E.g.,
467 // fail because of a bad rewrite string.
468 bool CheckRewriteString(const StringPiece& rewrite, string* error) const;
673 bool Rewrite(string *out,
674 const StringPiece &rewrite,