diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-07-23 23:15:07 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-07-23 23:15:07 +0000 |
commit | a4d1eb9ee97e6c762f4e2507c9bd7511b077d09f (patch) | |
tree | 440c5d7a47503635fb704428a5e3feeccc89c986 /tools | |
parent | e86d6997c7e9554a883fd08d2436daa418cc0dcc (diff) |
(Minor) Disable un-needed 'capture' in regexp
svn path=/trunk/; revision=25811
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkAPIs.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index a9d0f6ac58..65a15402bf 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -283,7 +283,7 @@ while ($_ = $ARGV[0]) # "... const value_string ... = { ... ;" (possibly over multiple lines) # ToDo: investigate cases in Wireshark code of value_string definitions such as # "const value_string ...;". - while ($fileContents =~ /( (static \s+)? const \s+ value_string [^;*]+ = [^;]+ \{ [^;]+ ; )/xsg) { + while ($fileContents =~ /( (?: static \s+)? const \s+ value_string [^;*]+ = [^;]+ \{ [^;]+ ; )/xsg) { # value_string array definition found; check if NULL terminated my $vs = my $vsx = $1; if ($debug_flag) { |