]> Cypherpunks repositories - gostls13.git/commitdiff
regexp/syntax: Clarify comment of OpAnyCharNotNL.
authorRobin Eklind <r.eklind.87@gmail.com>
Wed, 12 Nov 2014 02:52:07 +0000 (18:52 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 12 Nov 2014 02:52:07 +0000 (18:52 -0800)
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/171560043

src/regexp/syntax/regexp.go

index 329a90e01294076d07f12086237d8b8669234fd7..cea7d9e04fec70ac66435c0aae94398b07a57ba2 100644 (file)
@@ -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