diff --git a/collects/net/url-unit.ss b/collects/net/url-unit.ss index b69b04b0a3..1159b630e4 100644 --- a/collects/net/url-unit.ss +++ b/collects/net/url-unit.ss @@ -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