Skip to content

Commit 9d4617a

Browse files
committed
make replacement regex case insensitive
1 parent af20a6b commit 9d4617a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Geo/Address/Formatter.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ sub _apply_replacements {
813813
}
814814
if (defined($regexp)){
815815
try {
816-
my $re = qr/$regexp/;
816+
my $re = qr/$regexp/i;
817817
$rh_components->{$component} =~ s/$re/$ra_fromto->[1]/;
818818
} catch {
819819
warn "invalid replacement: " . join(', ', @$ra_fromto);

0 commit comments

Comments
 (0)