зеркало из https://github.com/github/ruby.git
* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
regular expression. a patch from Ueda Satoshi <s-ueda AT livedoor.jp>. [ruby-dev:32514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3a3bda73dd
Коммит
9ab6f563a2
|
@ -1,3 +1,9 @@
|
|||
Mon Dec 10 18:28:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME
|
||||
regular expression. a patch from Ueda Satoshi
|
||||
<s-ueda AT livedoor.jp>. [ruby-dev:32514]
|
||||
|
||||
Mon Dec 10 17:46:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_tmp_new): creates hidden temporary buffer.
|
||||
|
|
|
@ -110,7 +110,7 @@ module URI
|
|||
SERVER = "(?:#{USERINFO}@)?#{HOSTPORT}"
|
||||
# reg_name = 1*( unreserved | escaped | "$" | "," |
|
||||
# ";" | ":" | "@" | "&" | "=" | "+" )
|
||||
REG_NAME = "(?:[#{UNRESERVED}$,;+@&=+]|#{ESCAPED})+"
|
||||
REG_NAME = "(?:[#{UNRESERVED}$,;:@&=+]|#{ESCAPED})+"
|
||||
# authority = server | reg_name
|
||||
AUTHORITY = "(?:#{SERVER}|#{REG_NAME})"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче