mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
74252bf135
commit
e174328097
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Jan 17 00:09:42 2005 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/uri/common.rb (PORT): typo fix. fiex: [ruby-core:04256]
|
||||||
|
|
||||||
Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Jan 15 14:57:22 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ruby.c (proc_options): ignore trailing CRs at the end of short
|
* ruby.c (proc_options): ignore trailing CRs at the end of short
|
||||||
|
|
|
@ -88,7 +88,7 @@ module URI
|
||||||
# host = hostname | IPv4address | IPv6reference (RFC 2732)
|
# host = hostname | IPv4address | IPv6reference (RFC 2732)
|
||||||
HOST = "(?:#{HOSTNAME}|#{IPV4ADDR}|#{IPV6REF})"
|
HOST = "(?:#{HOSTNAME}|#{IPV4ADDR}|#{IPV6REF})"
|
||||||
# port = *digit
|
# port = *digit
|
||||||
PORT = "\d*"
|
PORT = '\d*'
|
||||||
# hostport = host [ ":" port ]
|
# hostport = host [ ":" port ]
|
||||||
HOSTPORT = "#{HOST}(?::#{PORT})?"
|
HOSTPORT = "#{HOST}(?::#{PORT})?"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue