From 3c5fd98918e0c1c22566b19769a0a370b1321737 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 19 Oct 2014 10:28:27 -0700 Subject: [PATCH] regexp: correct doc comment for ReplaceAllLiteralString Fixes #8959. LGTM=adg R=golang-codereviews, adg CC=golang-codereviews https://golang.org/cl/161790043 --- src/regexp/regexp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regexp/regexp.go b/src/regexp/regexp.go index 0b8336a04f..b615acdf0e 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 { -- 2.50.0