Lines Matching refs:re
343 // Caller must release return value with re->Decref().
350 // Caller must release return value with re->Decref().
384 // so in many cases you should use, e.g., Plus(re->Incref(), flags).
460 // Returns the leading string that re starts with.
461 // The returned Rune* points into a piece of re,
462 // so it must not be used after the caller calls re->Decref().
463 static Rune* LeadingString(Regexp* re, int* nrune, ParseFlags* flags);
465 // Removes the first n leading runes from the beginning of re.
466 // Edits re in place.
467 static void RemoveLeadingString(Regexp* re, int n);
469 // Returns the leading regexp in re's top-level concatenation.
470 // The returned Regexp* points at re or a sub-expression of re,
471 // so it must not be used after the caller calls re->Decref().
472 static Regexp* LeadingRegexp(Regexp* re);
474 // Removes LeadingRegexp(re) from re and returns the remainder.
475 // Might edit re in place.
476 static Regexp* RemoveLeadingRegexp(Regexp* re);