From 4474d38fa2a1aeb08f3cbdae1fd7260b05ffbd2b Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 12 Aug 2011 14:11:49 -0400 Subject: [PATCH] Fixing typo and s. --- lib/uri/common.rb | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/uri/common.rb b/lib/uri/common.rb index f23fe98..abe127f 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -78,15 +78,15 @@ module URI # # You can use the following keys: # - # * :ESCAPED (URI::PATTERN::ESCAPED in default) - # * :UNRESERVED (URI::PATTERN::UNRESERVED in default) - # * :DOMLABEL (URI::PATTERN::DOMLABEL in default) - # * :TOPLABEL (URI::PATTERN::TOPLABEL in default) - # * :HOSTNAME (URI::PATTERN::HOSTNAME in default) + # * :ESCAPED (URI::PATTERN::ESCAPED in default) + # * :UNRESERVED (URI::PATTERN::UNRESERVED in default) + # * :DOMLABEL (URI::PATTERN::DOMLABEL in default) + # * :TOPLABEL (URI::PATTERN::TOPLABEL in default) + # * :HOSTNAME (URI::PATTERN::HOSTNAME in default) # # == Examples # - # p = URI::Parser.new(:ESCPAED => "(?:%[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 # -- 1.7.0.2