Home | History | Annotate | Download | only in util

Lines Matching refs:Rewrite

376   // Replace the first match of "pattern" in "str" with "rewrite".
377 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
379 // from the pattern. \0 in "rewrite" refers to the entire matching
391 rewrite);
394 // the string with the rewrite. Replacements are not subject to
405 const StringPiece& rewrite);
407 // Like Replace, except that if the pattern matches, "rewrite"
415 const StringPiece &rewrite,
418 // Check that the given @p rewrite string is suitable for use with
421 // of the \N tokens in @p rewrite, and
422 // * The @p rewrite string doesn't have any syntax errors
425 // operations won't LOG(ERROR) or fail because of a bad rewrite
427 // @param rewrite The proposed rewrite string.
430 // @return true, iff @p rewrite is suitable for use with the PCRE.
431 bool CheckRewriteString(const StringPiece& rewrite, string* error) const;
484 // Append the "rewrite" string, with backslash subsitutions from "text"
486 bool Rewrite(string *out,
487 const StringPiece &rewrite,