remove non US-ASCII stuff in strings for ruby 1.9
authorGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 24 Aug 2010 07:25:06 +0000 (09:25 +0200)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 24 Aug 2010 07:25:06 +0000 (09:25 +0200)
lib/booh/rexml/doctype.rb
lib/booh/rexml/rexml.rb

index 17eba33181f40d66e9f8d67124a06ae345766737..af019007d07b42168419c7e032459db0681de769 100644 (file)
@@ -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
index 2e5a91fdf431701b1a82cb0128fcb01f97716ee2..b7afbaaff2d23bbd49a022bef283999919bc5b24 100644 (file)
@@ -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 <ser@germane-software.com>"
+       COPYRIGHT = "Copyright (c) 2001-2006 Sean Russell <ser@germane-software.com>"
   DATE = "2006/335"
   VERSION = "3.1.6_booh_forked"