1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2005-01-16 15:12:02 +00:00
parent 02ebdc068a
commit 67c135a503
2 changed files with 5 additions and 1 deletions

View file

@ -88,7 +88,7 @@ module URI
# host = hostname | IPv4address | IPv6reference (RFC 2732)
HOST = "(?:#{HOSTNAME}|#{IPV4ADDR}|#{IPV6REF})"
# port = *digit
PORT = "\d*"
PORT = '\d*'
# hostport = host [ ":" port ]
HOSTPORT = "#{HOST}(?::#{PORT})?"