mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-09 01:25:41 -04:00
think i found it
This commit is contained in:
parent
46dbde2776
commit
558fe19599
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ sub _fact_substitute
|
||||||
{
|
{
|
||||||
my $regex = $flags=~/i/ ? qr/(?i:$match)/i : qr/$match/;
|
my $regex = $flags=~/i/ ? qr/(?i:$match)/i : qr/$match/;
|
||||||
|
|
||||||
while ($pred =~ /\G$regex/g)
|
while ($pred =~ /$regex/g)
|
||||||
{
|
{
|
||||||
my $matchedstring = substr($pred, $-[0], $+[0] - $-[0]);
|
my $matchedstring = substr($pred, $-[0], $+[0] - $-[0]);
|
||||||
my ($matchstart, $matchend) = ($-[0], $+[0]);
|
my ($matchstart, $matchend) = ($-[0], $+[0]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue