1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 16:05:40 -04:00

more debug code

This commit is contained in:
Ryan Voots 2010-03-12 16:32:54 -05:00
parent 2936924a37
commit 2feaf8bfde

View file

@ -348,7 +348,7 @@ sub _fact_substitute
pos $pred = $matchstart+length($realsubst); #set the new position, might have an off by one?
}
return "$pred";
return "G:$regex:$flags:$match:$subst:".$pred;
}
else
{
@ -361,13 +361,9 @@ sub _fact_substitute
$realsubst =~ s/\$(\d+)/$caps[$1-1]/eg;
$pred =~ s/$regex/$realsubst/;
return $pred;
}
else
{
return "O:$regex:$flags:$match:$subst:".$pred;
}
return "O:$regex:$flags:$match:$subst:".$pred;
}
}