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 | 4398f77034a9729e3d1d4cce5bba76dea9fe8505 (patch) | |
| tree | c079531a65908c5333a511126542f3bf081098ac /lib/uri | |
| parent | 58e16f60f024046bb96ee33731210faeec2f5cf1 (diff) | |
| download | ruby-4398f77034a9729e3d1d4cce5bba76dea9fe8505.tar.gz ruby-4398f77034a9729e3d1d4cce5bba76dea9fe8505.tar.xz ruby-4398f77034a9729e3d1d4cce5bba76dea9fe8505.zip | |
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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 fbb3558a3..c9b3e0de7 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 | # ";" | ":" | "&" | "=" | "+" | "$" | "," ) |
