diff options
Diffstat (limited to 'src/regexp')
-rw-r--r-- | src/regexp/regexp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp/regexp.go b/src/regexp/regexp.go index 0b8336a04..b615acdf0 100644 --- a/src/regexp/regexp.go +++ b/src/regexp/regexp.go @@ -452,7 +452,7 @@ func (re *Regexp) ReplaceAllString(src, repl string) string { return string(b) } -// ReplaceAllStringLiteral returns a copy of src, replacing matches of the Regexp +// ReplaceAllLiteralString returns a copy of src, replacing matches of the Regexp // with the replacement string repl. The replacement repl is substituted directly, // without using Expand. func (re *Regexp) ReplaceAllLiteralString(src, repl string) string { |