From: Robin Eklind Date: Wed, 12 Nov 2014 02:52:07 +0000 (-0800) Subject: regexp/syntax: Clarify comment of OpAnyCharNotNL. X-Git-Tag: go1.4rc1~12 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=04c7b68b4a0394405c5a927f639902965663f1a2;p=gostls13.git regexp/syntax: Clarify comment of OpAnyCharNotNL. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/171560043 --- 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