From 04c7b68b4a0394405c5a927f639902965663f1a2 Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Tue, 11 Nov 2014 18:52:07 -0800 Subject: [PATCH] regexp/syntax: Clarify comment of OpAnyCharNotNL. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/171560043 --- 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 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 -- 2.48.1