summaryrefslogtreecommitdiff
path: root/src/regexp/syntax/regexp.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp/syntax/regexp.go')
-rw-r--r--src/regexp/syntax/regexp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp/syntax/regexp.go b/src/regexp/syntax/regexp.go
index 329a90e01..cea7d9e04 100644
--- a/src/regexp/syntax/regexp.go
+++ b/src/regexp/syntax/regexp.go
@@ -39,7 +39,7 @@ const (
OpEmptyMatch // matches empty string
OpLiteral // matches Runes sequence
OpCharClass // matches Runes interpreted as range pair list
- OpAnyCharNotNL // matches any character
+ OpAnyCharNotNL // matches any character except newline
OpAnyChar // matches any character
OpBeginLine // matches empty string at beginning of line
OpEndLine // matches empty string at end of line