diff options
Diffstat (limited to 't')
-rw-r--r-- | t/009bugwords.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/009bugwords.t b/t/009bugwords.t index 9249ba4ac..5b1a9d6ba 100644 --- a/t/009bugwords.t +++ b/t/009bugwords.t @@ -77,7 +77,7 @@ foreach my $file (@testitems) { } # "Bugzilla" - if (grep /Bugzilla[^_]/, $text) { + if (grep /(?<!X\-)Bugzilla(?!_)/, $text) { # Exclude JS comments, hyperlinks, USE and variable assignment. unless (grep /(\/\/.*|org.*>|USE |= )Bugzilla/, $text) { push(@errors, [$lineno, $text]); |