mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:05:40 -04:00
more debug code
This commit is contained in:
parent
2936924a37
commit
2feaf8bfde
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue