mirror of
https://github.com/golang/go
synced 2024-11-24 09:20:02 -07:00
regexp/syntax: fix typo in comment
Fix typo in comment describing IsWordChar. Change-Id: Ia283813cf5662e218ee6d0411fb0c1b1ad1021f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/393435 Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
cb6fc99b32
commit
e7b0559448
@ -102,7 +102,7 @@ func EmptyOpContext(r1, r2 rune) EmptyOp {
|
||||
return op
|
||||
}
|
||||
|
||||
// IsWordChar reports whether r is consider a “word character”
|
||||
// IsWordChar reports whether r is considered a “word character”
|
||||
// during the evaluation of the \b and \B zero-width assertions.
|
||||
// These assertions are ASCII-only: the word characters are [A-Za-z0-9_].
|
||||
func IsWordChar(r rune) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user