зеркало из https://github.com/github/ruby.git
* lib/uri/common.rb: `[', `]', `-' in chracter
class in regexp to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
cdfb48ea7d
Коммит
9b3344c94d
|
@ -1,4 +1,4 @@
|
||||||
Sat Mar 22 01:59:04 2003 Tanaka Akira <akr@m17n.org>
|
Sat Mar 22 12:44:15 2003 Tanaka Akira <akr@m17n.org>
|
||||||
|
|
||||||
* lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracter
|
* lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracter
|
||||||
class in regexp to avoid warning.
|
class in regexp to avoid warning.
|
||||||
|
|
|
@ -31,7 +31,7 @@ module URI
|
||||||
# mark = "-" | "_" | "." | "!" | "~" | "*" | "'" |
|
# mark = "-" | "_" | "." | "!" | "~" | "*" | "'" |
|
||||||
# "(" | ")"
|
# "(" | ")"
|
||||||
# unreserved = alphanum | mark
|
# unreserved = alphanum | mark
|
||||||
UNRESERVED = "-_.!~*'()#{ALNUM}"
|
UNRESERVED = "\\-_.!~*'()#{ALNUM}"
|
||||||
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
|
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
|
||||||
# "$" | ","
|
# "$" | ","
|
||||||
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
|
# reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
|
||||||
|
|
Загрузка…
Ссылка в новой задаче