Skip to content

Commit

Permalink
Silence some regex warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Apr 2, 2011
1 parent f809dde commit f0a46ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Failo/Identica.pm
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ sub _pseudonimize {

while (my ($old, $new) = each %{ $self->{Map_names} }) {
my $old_up = uc $old;
no warnings 'uninitialized';
$quote =~ s/\b(fail)?\Q$old_up\E(s)?_*\b/uc "$1$new$2"/eg;
$quote =~ s/\b(fail)?\Q$old\E(s)?_*\b/$1$new$2/gi;
}
Expand Down

0 comments on commit f0a46ca

Please sign in to comment.