From: Richard Levitte Date: Thu, 23 Mar 2017 14:09:41 +0000 (+0100) Subject: Fix find-doc-nits: { is significant in regexps X-Git-Tag: OpenSSL_1_1_1-pre1~1961 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d5835219ea84b6aa35f82791fdc585362e210d4;p=openssl Fix find-doc-nits: { is significant in regexps Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3019) --- diff --git a/util/find-doc-nits b/util/find-doc-nits index 537e132cc3..cd2d32e04a 100755 --- a/util/find-doc-nits +++ b/util/find-doc-nits @@ -96,7 +96,7 @@ sub name_synopsis() } elsif ( $line =~ /typedef.* (\S+);/ ) { # a simple typedef: typedef ... NAME; $sym = $1; - } elsif ( $line =~ /enum (\S*) {/ ) { + } elsif ( $line =~ /enum (\S*) \{/ ) { # an enumeration: enum ... { $sym = $1; } elsif ( $line =~ /#define ([A-Za-z0-9_]+)/ ) {