From 32618ba7438a2247042bba9b5d85b5d49070f5e5 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 24 Aug 2011 07:28:12 +0000 Subject: Add a missing parenthesis in the example. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uri/common.rb b/lib/uri/common.rb index abe127f54c..38b0eb50d2 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -86,7 +86,7 @@ module URI # # == 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.parse(u.to_s) #=> raises URI::InvalidURIError # -- cgit v1.2.3