Skip to content

Commit

Permalink
Deal with the perl-5.13 (?^:...) regex construct [RT#61552]
Browse files Browse the repository at this point in the history
  • Loading branch information
gisle committed Sep 27, 2010
1 parent 98b6ac7 commit a677ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Data/Dump.pm
Expand Up @@ -192,7 +192,7 @@ sub _dump
my $v = "$rval";

my $mod = "";
if ($v =~ /^\(\?([msix-]+):([\x00-\xFF]*)\)\z/) {
if ($v =~ /^\(\?\^?([msix-]*):([\x00-\xFF]*)\)\z/) {
$mod = $1;
$v = $2;
$mod =~ s/-.*//;
Expand Down

0 comments on commit a677ecc

Please sign in to comment.