]> Cypherpunks repositories - gostls13.git/commitdiff
regexp/syntax: fix typo in comment
authorLudi Rehak <ludi317@gmail.com>
Wed, 16 Mar 2022 17:22:11 +0000 (10:22 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 29 Apr 2022 01:00:55 +0000 (01:00 +0000)
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>

src/regexp/syntax/prog.go

index ee71decb35f82894fe3cd2be0a59983bbe4d7108..896cdc42c2a4ff4bd20b2ebda1d695bb594cdae1 100644 (file)
@@ -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 {