aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Eklind <r.eklind.87@gmail.com>2014-11-11 18:52:07 -0800
committerIan Lance Taylor <iant@golang.org>2014-11-11 18:52:07 -0800
commit04c7b68b4a0394405c5a927f639902965663f1a2 (patch)
tree8ed6d2b2f79aab6a48b1743c0d8556cced955386
parent40818cfe1c3601a8b88d6935e255064aab07679b (diff)
downloadgo-04c7b68b4a0394405c5a927f639902965663f1a2.tar.gz
go-04c7b68b4a0394405c5a927f639902965663f1a2.zip
regexp/syntax: Clarify comment of OpAnyCharNotNL.
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/171560043
-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 329a90e012..cea7d9e04f 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