summaryrefslogtreecommitdiff
path: root/lib/uri
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 15:12:02 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-16 15:12:02 +0000
commite17432809713f72db574e6252e0569377278031d (patch)
tree9afd1e9f6b728afd10ee3bbb5d34c6a27301d583 /lib/uri
parent74252bf1354211954f7263c281470063d3d8f9f8 (diff)
* lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/common.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index 1e59c0fa33..cb00bc1148 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -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})?"