From 7fb9dc8376bed37d999e7ca078ca9882dc72f4f1 Mon Sep 17 00:00:00 2001 From: Isaac G Date: Tue, 13 Mar 2012 16:54:29 -0400 Subject: [PATCH] Fixed a pointless regex flag --- urltitles.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urltitles.pl b/urltitles.pl index 0fb9d57..cff9ada 100644 --- a/urltitles.pl +++ b/urltitles.pl @@ -32,7 +32,7 @@ sub message_public { while ($msg =~ m/\G(\S+)(\s*)/g) { ($word, $ws) = ($1, $2); # word, whitespace - next unless ($word =~ /^$regex$/g); + next unless ($word =~ /^$regex$/); $word = "http://$word" unless ( $word =~ qr(^https?://) ); eval{ $response = $ua->get($word) };