diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-26 00:42:08 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-26 00:42:08 +0000 |
| commit | 8f4e8e172f6cb1a8240b47c89ef4bc430bd7fa0e (patch) | |
| tree | 14bd11a073ac3bc7be73f34aa3531d68b2a94e07 /lib/rexml | |
| parent | 161fe52c16a68e38d3d4e357459b2dadd72b2148 (diff) | |
| download | ruby-8f4e8e172f6cb1a8240b47c89ef4bc430bd7fa0e.tar.gz ruby-8f4e8e172f6cb1a8240b47c89ef4bc430bd7fa0e.tar.xz ruby-8f4e8e172f6cb1a8240b47c89ef4bc430bd7fa0e.zip | |
* lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replace
multi-byte string.
* test/json/{test_json.rb, test_json_unicode.rb}: add magic comment.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
| -rw-r--r-- | lib/rexml/doctype.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/doctype.rb b/lib/rexml/doctype.rb index e90c12d51..35beabc56 100644 --- a/lib/rexml/doctype.rb +++ b/lib/rexml/doctype.rb @@ -188,7 +188,7 @@ module REXML # Method contributed by Henrik Martensson def strip_quotes(quoted_string) - quoted_string =~ /^[\'\"].*[\ยด\"]$/ ? + quoted_string =~ /^[\'\"].*[\'\"]$/ ? quoted_string[1, quoted_string.length-2] : quoted_string end |
