diff --git a/url-select b/url-select index ebf07f2..bea92f6 100644 --- a/url-select +++ b/url-select @@ -58,10 +58,10 @@ sub on_start { $current++; } } else { - @{$self->{pattern}} = (qr{ + @{$self->{pattern}} = qr{( (?:https?://|ftp://|news://|mailto:|file://|www\.) [\w\-\@;\/?:&=%\$_.+!*\x27(),~#]+[\w\-\@;\/?&=%\$_+!*\x27()~] - }x); + )}x; } ()