aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-06-20 17:49:19 +1200
committerDavid Phillips <david@sighup.nz>2018-06-20 17:49:19 +1200
commit549ac4f97e0a70238006cc7b4d4ff752f281b930 (patch)
tree2cd45d55ca4b8f4bc7d23e0dd142464065d4b882 /Plugin
parent792eade6c29beb6cf9b1e31ddffdc6476ff21b01 (diff)
downloadidalius-549ac4f97e0a70238006cc7b4d4ff752f281b930.tar.xz
No need for [A-z] when case-insensitive flag used
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/URL_Title.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm
index a2c8930..73fa498 100644
--- a/Plugin/URL_Title.pm
+++ b/Plugin/URL_Title.pm
@@ -37,7 +37,7 @@ sub message
return if ($config{url_on} == 0);
# Drawn from RFC 3986Β§2
- if ($what =~ /(https?:\/\/[A-z0-9\-\._~:\/\?#\[\]@\!\$&'()\*\+,;=]+)/i) {
+ if ($what =~ /(https?:\/\/[a-z0-9\-\._~:\/\?#\[\]@\!\$&'()\*\+,;=]+)/i) {
$url = $1;
}
return unless $url;