Commit 8c610aa6 authored by Alan Donovan's avatar Alan Donovan

regexp: fix incorrect name in Match doc comment

Change-Id: I628aad9a3abe9cc0c3233f476960e53bd291eca9
Reviewed-on: https://go-review.googlesource.com/135235Reviewed-by: 's avatarRalph Corderoy <ralph@inputplus.co.uk>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 691f5c34
......@@ -469,7 +469,7 @@ func MatchString(pattern string, s string) (matched bool, err error) {
return re.MatchString(s), nil
}
// MatchString reports whether the byte slice b
// Match reports whether the byte slice b
// contains any match of the regular expression pattern.
// More complicated queries need to use Compile and the full Regexp interface.
func Match(pattern string, b []byte) (matched bool, err error) {
......
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