diff options
author | Robin Eklind <r.eklind.87@gmail.com> | 2014-11-11 18:52:07 -0800 |
---|---|---|
committer | Robin Eklind <r.eklind.87@gmail.com> | 2014-11-11 18:52:07 -0800 |
commit | d2aa0361764efed97d01bea3f873fa70a59c16a5 (patch) | |
tree | e20c40b6034ab9d61aa5736aa08e31b545b62202 | |
parent | 9067a9e455b8299e1a74132c861d78f608092cdf (diff) | |
download | go-d2aa0361764efed97d01bea3f873fa70a59c16a5.tar.gz |
regexp/syntax: Clarify comment of OpAnyCharNotNL.
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/171560043
Committer: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/regexp/syntax/regexp.go | 2 |
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 |