projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b178c0
)
diag.t: Allow underscore in warnings categories
author
Karl Williamson
<public@khwilliamson.com>
Fri, 18 Feb 2011 05:50:49 +0000
(22:50 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Fri, 18 Feb 2011 05:56:16 +0000
(22:56 -0700)
A new category is being created with an underscore in it.
t/porting/diag.t
patch
|
blob
|
history
diff --git
a/t/porting/diag.t
b/t/porting/diag.t
index
cc93874
..
a3f6272
100644
(file)
--- a/
t/porting/diag.t
+++ b/
t/porting/diag.t
@@
-70,7
+70,7
@@
my $cur_entry;
open my $diagfh, "<", $pod
or die "Can't open $pod: $!";
-my $category_re = qr/ [a-z0-9]+?/; # Note: requires an initial space
+my $category_re = qr/ [a-z0-9
_
]+?/; # Note: requires an initial space
my $severity_re = qr/ . (?: \| . )* /x; # A severity is a single char, but can
# be of the form 'S|P|W'
while (<$diagfh>) {