parse a port only if there are digits after the colon (see PR8060)

svn: r3097
This commit is contained in:
Eli Barzilay 2006-05-28 21:35:23 +00:00
parent 28822a155d
commit 8593839057

View File

@ -362,7 +362,7 @@
"//"
"(?:([^:/@;?#]*)@)?" ; =2 user-at-opt
"([^:/@;?#]*)?" ; =3 host-opt
"(?::([0-9]*))?" ; =4 colon-port-opt
"(?::([0-9]+))?" ; =4 colon-port-opt
")?" ; >B slashslash-opt
")?" ; >A front-opt
"([^?#]*)" ; =5 path