From d2aa0361764efed97d01bea3f873fa70a59c16a5 Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Tue, 11 Nov 2014 18:52:07 -0800 Subject: regexp/syntax: Clarify comment of OpAnyCharNotNL. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/171560043 Committer: Ian Lance Taylor --- src/regexp/syntax/regexp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1