(Minor) Disable un-needed 'capture' in regexp

svn path=/trunk/; revision=25811
This commit is contained in:
Bill Meier 2008-07-23 23:15:07 +00:00
parent e86d6997c7
commit a4d1eb9ee9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {