Home | History | Annotate | Download | only in regexp

Lines Matching defs:Copy

110 // Copy returns a new Regexp object copied from re.
113 // its own copy helps to avoid lock contention.
114 func (re *Regexp) Copy() *Regexp {
115 // It is not safe to copy Regexp by value
476 // ReplaceAllString returns a copy of src, replacing matches of the Regexp
490 // ReplaceAllLiteralString returns a copy of src, replacing matches of the Regexp
499 // ReplaceAllStringFunc returns a copy of src in which all matches of the
531 // Copy the unmatched characters before this match.
538 // Now insert a copy of the replacement string, but not for a
565 // Copy the unmatched characters after the last match.
575 // ReplaceAll returns a copy of src, replacing matches of the Regexp
593 // ReplaceAllLiteral returns a copy of src, replacing matches of the Regexp
602 // ReplaceAllFunc returns a copy of src in which all matches of the
643 copy(b, s[:i])