mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 18:45:42 -04:00
more changes for this, grr
This commit is contained in:
parent
56ce4462f1
commit
1b9ef7feaf
1 changed files with 1 additions and 2 deletions
|
@ -346,8 +346,7 @@ sub _fact_substitute
|
|||
my $realsubst = $subst;
|
||||
$realsubst =~ s/\$(\d+)/$caps[$1-1]/eg;
|
||||
|
||||
$pred =~ s/$match/$realsubst/ unless $flags =~ /i/;
|
||||
$pred =~ s/$match/$realsubst/i if $flags =~ /i/;
|
||||
$pred =~ s/$regex/$realsubst/;
|
||||
|
||||
return $pred;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue