--- rxvt-unicode/src/perl/selection 2006/01/04 20:43:38 1.11 +++ rxvt-unicode/src/perl/selection 2006/01/05 01:07:31 1.12 @@ -12,8 +12,8 @@ my @patterns = ( # urls, just a heuristic qr{( - (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),]+ - [^.] # do not include a trailing dot, its wrong too often + (?:https?|ftp|news|mailto|file)://[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~]+ + [ab-zA-Z0-9\-\@;\/?:&=%\$_+!*\x27(),~] # do not include a trailing dot, its wrong too often )}x, # shell-like argument quoting