summaryrefslogtreecommitdiffstats
path: root/lib
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
commit8f58c80e55642b36d42698bd8f6ef3c21f339c33 (patch)
tree8efd43280c4c7a7a22ac718a370dfcfb74ba65cd /lib
parent3e2ed2103a7fd2576d05303d4b6732768713e3b5 (diff)
downloadruby-8f58c80e55642b36d42698bd8f6ef3c21f339c33.tar.gz
ruby-8f58c80e55642b36d42698bd8f6ef3c21f339c33.tar.xz
ruby-8f58c80e55642b36d42698bd8f6ef3c21f339c33.zip
* lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-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 1e59c0fa3..cb00bc114 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})?"