mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 19:15:40 -04:00
removing the -1, for testing
This commit is contained in:
parent
b16b9fc5ef
commit
46e20d0106
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)-1; #set the new position, might have an off by one?
|
||||
pos $pred = $matchstart+length($realsubst); #set the new position, might have an off by one?
|
||||
}
|
||||
|
||||
return $pred;
|
||||
|
|
Loading…
Add table
Reference in a new issue