diff options
author | Gerald Combs <gerald@wireshark.org> | 2014-12-09 11:24:59 -0800 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-12-09 19:26:02 +0000 |
commit | f66de3a7495c6751a8e6b4092d4617c8adc05cc3 (patch) | |
tree | 98fe156eb1f4b638e72371ffb7ae943e573f1935 /tools/checkAPIs.pl | |
parent | bcaa5d84b1e6637927faf6066d6e57a92c94146e (diff) |
Fix filename matching.
Change-Id: I2bdfd3ad2798ed1443d06c42b05c9962b8e8041d
Reviewed-on: https://code.wireshark.org/review/5689
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/checkAPIs.pl')
-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 e0a4c2a432..8590dfb0ac 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -2170,7 +2170,7 @@ while ($_ = $ARGV[0]) #$errorCount += check_ett_registration(\$fileContents, $filename); - if ($filename !~ m{ /ui/qt/ } && $fileContents =~ m{ \s// }xo) + if ($filename !~ m{ ui/qt/ }x && $fileContents =~ m{ \s// }xo) { print STDERR "Error: Found C++ style comments in " .$filename."\n"; $errorCount++; |