]> Cypherpunks repositories - gostls13.git/commitdiff
regexp: fix typo
authorRuss Cox <rsc@golang.org>
Wed, 8 Feb 2012 13:59:59 +0000 (08:59 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 8 Feb 2012 13:59:59 +0000 (08:59 -0500)
Fixes #2918.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5639062

src/pkg/regexp/regexp.go

index 28c903e7b30e6a6479730efa5ac6f49b576618b8..d12ff0275984a758251abbe0d9bd94d966c86b4d 100644 (file)
@@ -738,7 +738,7 @@ func (re *Regexp) Expand(dst []byte, template []byte, src []byte, match []int) [
 
 // ExpandString is like Expand but the template and source are strings.
 // It appends to and returns a byte slice in order to give the calling
-// code control ovr allocation.
+// code control over allocation.
 func (re *Regexp) ExpandString(dst []byte, template string, src string, match []int) []byte {
        return re.expand(dst, template, nil, src, match)
 }