Skip to content

Commit

Permalink
perldiag: ‘Regexp modifier after "-"’ should have no cat
Browse files Browse the repository at this point in the history
Only warnings have categories.
  • Loading branch information
Father Chrysostomos committed Jun 27, 2012
1 parent 2803863 commit f8b5bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pod/perldiag.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit f8b5bc7

Please sign in to comment.