mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
cdfb48ea7d
commit
9b3344c94d
2 changed files with 2 additions and 2 deletions
|
@ -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 = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |
|
||||||
|
|
Loading…
Reference in a new issue