diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-07 16:51:25 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-07 16:51:25 +0000 |
commit | 4db4c6b624024f27ed8da7e959fea87f0a6573a2 (patch) | |
tree | cfb8fc8b0d989d1fe0cb04a60e24d3b8c1c7c24f /tools | |
parent | 4dd48b7b679ffc87584e13d68681abecfe0a32fc (diff) |
Escape the pipe (alternation) in the display regexp.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34406 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkAPIs.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 30c1d1832a..0b18a665b0 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -959,7 +959,7 @@ sub check_hf_entries($$) my ($fileContentsRef, $filename) = @_; my @items; - @items = (${$fileContentsRef} =~ m{ + @items = (${$fileContentsRef} =~ m{ \{ \s* &\s*([A-Z0-9_\[\]-]+) # &hf @@ -971,7 +971,7 @@ sub check_hf_entries($$) \s*,\s* (FT_[A-Z0-9_]+) # field type \s*,\s* - ([A-Z0-9x|_]+) # display + ([A-Z0-9x\|_]+) # display \s*,\s* ([A-Z0-9&_\(\)' -]+) # convert \s*,\s* |