--- rxvt-unicode/src/perl/mark-urls 2006/01/05 01:04:10 1.1 +++ rxvt-unicode/src/perl/mark-urls 2006/01/05 01:07:31 1.2 @@ -3,8 +3,8 @@ # same url as used in "selection" my $url = 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; sub on_add_lines {