Commit 5957f914 authored by Russ Cox's avatar Russ Cox

regexp: fix typo

Fixes #2918.

TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5639062
parent cc39bb90
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment