1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-09 11:25:45 -04:00
This commit is contained in:
Ryan Voots 2010-03-12 15:56:14 -05:00
parent 6e6f1b0c31
commit 4f9d29d75a

View file

@ -344,7 +344,7 @@ sub _fact_substitute
{
my @caps = map {substr($pred, $-[$_], $+[$_] - $-[$_])} 1..$#+;
my $realsubst = $subst;
$realsubst =~ s/$(\d+)/$caps[$1]/eg;
$realsubst =~ s/\$(\d+)/$caps[$1]/eg;
$pred =~ s/$match/$realsubst/;