summaryrefslogtreecommitdiff
path: root/src/regexp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp')
-rw-r--r--src/regexp/syntax/doc.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regexp/syntax/doc.go b/src/regexp/syntax/doc.go
index efc0b43571..b3f9136b5f 100644
--- a/src/regexp/syntax/doc.go
+++ b/src/regexp/syntax/doc.go
@@ -66,7 +66,7 @@ Grouping:
Empty strings:
^ at beginning of text or line (flag m=true)
- $ at end of text (like \z not Perl's \Z) or line (flag m=true)
+ $ at end of text (like \z not \Z) or line (flag m=true)
\A at beginning of text
\b at ASCII word boundary (\w on one side and \W, \A, or \z on the other)
\B not at ASCII word boundary
@@ -127,5 +127,6 @@ ASCII character classes:
[[:word:]] word characters (== [0-9A-Za-z_])
[[:xdigit:]] hex digit (== [0-9A-Fa-f])
+Unicode character classes are those in unicode.Categories and unicode.Scripts.
*/
package syntax