From e7c33e0aa6e9f8cc9999424e3d503d669559a918 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 24 Aug 2010 09:25:06 +0200 Subject: [PATCH] remove non US-ASCII stuff in strings for ruby 1.9 --- lib/booh/rexml/doctype.rb | 2 +- lib/booh/rexml/rexml.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/booh/rexml/doctype.rb b/lib/booh/rexml/doctype.rb index 17eba33..af01900 100644 --- a/lib/booh/rexml/doctype.rb +++ b/lib/booh/rexml/doctype.rb @@ -197,7 +197,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 diff --git a/lib/booh/rexml/rexml.rb b/lib/booh/rexml/rexml.rb index 2e5a91f..b7afbaa 100644 --- a/lib/booh/rexml/rexml.rb +++ b/lib/booh/rexml/rexml.rb @@ -20,7 +20,7 @@ # or can be accessed # online[http://www.germane-software.com/software/rexml/docs/tutorial.html] module REXML - COPYRIGHT = "Copyright © 2001-2006 Sean Russell " + COPYRIGHT = "Copyright (c) 2001-2006 Sean Russell " DATE = "2006/335" VERSION = "3.1.6_booh_forked" -- 2.30.4