ruby-changes:20999
From: naruse <ko1@a...>
Date: Wed, 24 Aug 2011 16:29:42 +0900 (JST)
Subject: [ruby-changes:20999] naruse:r33048 (ruby_1_9_3): merge revision(s) 33047:
naruse 2011-08-24 16:29:33 +0900 (Wed, 24 Aug 2011) New Revision: 33048 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33048 Log: merge revision(s) 33047: ------------------------------------------------------------------------ r33047 | naruse | 2011-08-24 16:28:12 +0900 (Wed, 24 Aug 2011) | 1 line Add a missing parenthesis in the example. ------------------------------------------------------------------------ Modified files: branches/ruby_1_9_3/lib/uri/common.rb Index: ruby_1_9_3/lib/uri/common.rb =================================================================== --- ruby_1_9_3/lib/uri/common.rb (revision 33047) +++ ruby_1_9_3/lib/uri/common.rb (revision 33048) @@ -86,7 +86,7 @@ # # == Examples # - # p = URI::Parser.new(:ESCAPED => "(?:%[a-fA-F0-9]{2}|%u[a-fA-F0-9]{4})" + # p = URI::Parser.new(:ESCAPED => "(?:%[a-fA-F0-9]{2}|%u[a-fA-F0-9]{4})") # u = p.parse("http://example.jp/%uABCD") #=> #<URI::HTTP:0xb78cf4f8 URL:http://example.jp/%uABCD> # URI.parse(u.to_s) #=> raises URI::InvalidURIError # -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/