Fixed bug 7000 -- handle hyphens in hostnames of email addresses when
highlighting. git-svn-id: svn://10.0.0.236/trunk@32610 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
55e6c5cc50
commit
897a11c822
@ -52,7 +52,7 @@ sub quoteUrls {
|
||||
# which can happen if you do multiple s///g operations.
|
||||
|
||||
my @things;
|
||||
while ($text =~ s%((mailto:)?([\w\.\-\+\=]+\@\w+(?:\.\w+)+)\b|
|
||||
while ($text =~ s%((mailto:)?([\w\.\-\+\=]+\@[\w\-]+(?:\.[\w\-]+)+)\b|
|
||||
(\b((?:$protocol):\S+[\w/])))%"##$count##"%exo) {
|
||||
my $item = $&;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user