Displaying 1 result from an estimated 1 matches for "m008992".
2006 Jul 06
3
URI.escape() broken or misdocumented in Ruby 1.8.4
...d parameter listing
unsafe characters in the URI. This may be a regexp or string. If a
string, it''s supposed to represent a character set listing all unsafe
characters. An example given in the core documentation at:
http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI/Escape.html#M008992
...is:
p URI.escape("@?@!", "!?")
# => "@%3F@%21"
Unfortunately this doesn''t work. It seems that the string does not
represent a character set to match any more, but a literal string to
find - thus the following result is actually seen:
p URI.es...