Lines Matching refs:rewrite
382 // Replace the first match of "pattern" in "str" with "rewrite".
383 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
385 // from the pattern. \0 in "rewrite" refers to the entire matching
397 const StringPiece& rewrite);
400 // the string with the rewrite. Replacements are not subject to
411 const StringPiece& rewrite);
413 // Like Replace, except that if the pattern matches, "rewrite"
421 const StringPiece &rewrite,
424 // Check that the given @p rewrite string is suitable for use with
427 // of the \N tokens in @p rewrite, and
428 // * The @p rewrite string doesn't have any syntax errors
431 // operations won't LOG(ERROR) or fail because of a bad rewrite
433 // @param rewrite The proposed rewrite string.
436 // @return true, iff @p rewrite is suitable for use with the PCRE.
437 bool CheckRewriteString(const StringPiece& rewrite, string* error) const;
490 // Append the "rewrite" string, with backslash subsitutions from "text"
492 bool Rewrite(string *out,
493 const StringPiece &rewrite,