Skip to content

Commit

Permalink
Item12952: Brute force cleanup of regexes
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Aug 31, 2014
1 parent d84dff2 commit d17a67d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/lib/Foswiki/Configure/Wizards/Save.pm
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ sub _wordy_dump {
my $d = Data::Dumper->Dump( [$hash] );
my $sk = _perlKeys($keys);
$d =~ s/^\$VAR1/\$Foswiki::cfg$sk/;
while ( $d =~ s#qr/\(\?-xism:(.*)\)/;$#qr/$1/;# ) { }
while ( $d =~ s#qr/\(\?\^:(.*)\)/;$#qr/$1/;# ) { }
push( @dump, $d );
}

Expand Down

0 comments on commit d17a67d

Please sign in to comment.