From: Gurusamy Sarathy Date: Sun, 7 Feb 1999 11:09:39 +0000 (+0000) Subject: pod2html misinterprets Foo::Bar as a URL (fix suggested by Alexander Barilo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa46748d2969714b8b401ff6111871d34b2dd828;p=p5sagit%2Fp5-mst-13.2.git pod2html misinterprets Foo::Bar as a URL (fix suggested by Alexander Barilo ) p4raw-id: //depot/perl@2821 --- diff --git a/lib/Pod/Html.pm b/lib/Pod/Html.pm index e71afa8..2fec8bd 100644 --- a/lib/Pod/Html.pm +++ b/lib/Pod/Html.pm @@ -1120,7 +1120,7 @@ sub process_text { $rest =~ s{ \b # start at word boundary ( # begin $1 { - $urls : # need resource and a colon + $urls :[^:] # need resource and a colon [$any] +? # followed by on or more # of any valid character, but # be conservative and take only