From 7c884e9012cbba4c7636fb7850cd7090eeab2fa6 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 26 Jan 2008 00:42:08 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/doctype.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rexml/doctype.rb b/lib/rexml/doctype.rb index e90c12d51a..35beabc566 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 -- cgit v1.2.3