summaryrefslogtreecommitdiff
path: root/lib/uri
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-08 10:36:50 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-08 10:36:50 +0000
commit80a0920f5fb30fe8e05ba21fcc58c2de393e2ae1 (patch)
treec079531a65908c5333a511126542f3bf081098ac /lib/uri
parent6901d03914a2274750146aa060f8cce2e58c6d28 (diff)
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5924 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 fbb3558a32..c9b3e0de70 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -90,7 +90,7 @@ module URI
# port = *digit
PORT = "\d*"
# hostport = host [ ":" port ]
- HOSTPORT = "#{HOST}(?:#{PORT})?"
+ HOSTPORT = "#{HOST}(?::#{PORT})?"
# userinfo = *( unreserved | escaped |
# ";" | ":" | "&" | "=" | "+" | "$" | "," )