perldiag: ‘Regexp modifier after "-"’ should have no cat
authorFather Chrysostomos <sprout@cpan.org>
Wed, 27 Jun 2012 06:14:20 +0000 (23:14 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 27 Jun 2012 07:52:52 +0000 (00:52 -0700)
Only warnings have categories.

pod/perldiag.pod

index c7e869e..d1c08bf 100644 (file)
@@ -4205,8 +4205,8 @@ of the specified modifier.  Remove the extraneous ones.
 
 =item Regexp modifier "%c" may not appear after the "-" in regex; marked by <-- HERE in m/%s/
 
-(F regexp) Turning off the given modifier has the side effect of turning
-on another one.  Perl currently doesn't allow this.  Reword the regular
+(F) Turning off the given modifier has the side effect of turning on
+another one.  Perl currently doesn't allow this.  Reword the regular
 expression to use the modifier you want to turn on (and place it before
 the minus), instead of the one you want to turn off.