mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-08 13:05:39 -04:00
wtf?
This commit is contained in:
parent
2feaf8bfde
commit
46dbde2776
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ sub _fact_substitute
|
|||
$realsubst =~ s/\$(\d+)/$caps[$1-1]/eg;
|
||||
|
||||
substr $pred, $matchstart, $matchend-$matchstart, $realsubst;
|
||||
pos $pred = $matchstart+length($realsubst); #set the new position, might have an off by one?
|
||||
pos $pred = $matchstart+length($realsubst)-1; #set the new position, might have an off by one?
|
||||
}
|
||||
|
||||
return "G:$regex:$flags:$match:$subst:".$pred;
|
||||
|
|
Loading…
Add table
Reference in a new issue