diff options
author | Ian Lance Taylor <iant@golang.org> | 2014-10-19 10:28:27 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-10-19 10:28:27 -0700 |
commit | f529378d4e294b023d1f27f2066ba9d0a3686e19 (patch) | |
tree | c2292ba9573180e5128ac542458c141d748f04d9 | |
parent | e4ae17b8fb2bd931cfb3ea6a6ca9c937916efaca (diff) | |
download | go-f529378d4e294b023d1f27f2066ba9d0a3686e19.tar.gz |
regexp: correct doc comment for ReplaceAllLiteralString
Fixes issue 8959.
LGTM=adg
R=golang-codereviews, adg
CC=golang-codereviews
https://codereview.appspot.com/161790043
-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 { |