diff options
author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-08 10:36:50 +0000 |
---|---|---|
committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-08 10:36:50 +0000 |
commit | 0477d9674e823f7381c722c01e663400b4417163 (patch) | |
tree | 82d7fc8aeb578891f5dc33cd3a4a3d3abcdd12a5 /lib/uri | |
parent | 7a1a184cbc7b9f579ee183829cf198c4f1d160e5 (diff) |
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/common.rb | 2 |
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 | # ";" | ":" | "&" | "=" | "+" | "$" | "," ) |