mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
3a3bda73dd
commit
9ab6f563a2
2 changed files with 7 additions and 1 deletions
|
@ -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})"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue