forked from osmocom/wireshark
(Minor) Disable un-needed 'capture' in regexp
svn path=/trunk/; revision=25811
This commit is contained in:
parent
e86d6997c7
commit
a4d1eb9ee9
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ while ($_ = $ARGV[0])
|
||||||
# "... const value_string ... = { ... ;" (possibly over multiple lines)
|
# "... const value_string ... = { ... ;" (possibly over multiple lines)
|
||||||
# ToDo: investigate cases in Wireshark code of value_string definitions such as
|
# ToDo: investigate cases in Wireshark code of value_string definitions such as
|
||||||
# "const value_string ...;".
|
# "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
|
# value_string array definition found; check if NULL terminated
|
||||||
my $vs = my $vsx = $1;
|
my $vs = my $vsx = $1;
|
||||||
if ($debug_flag) {
|
if ($debug_flag) {
|
||||||
|
|
Loading…
Reference in a new issue