From ff1000f66febc57ed1a3806d0900bc0c7e8f3c53 Mon Sep 17 00:00:00 2001 From: ser Date: Sun, 15 Jun 2003 18:31:16 +0000 Subject: REXML hadn't been tested with Ruby 1.8.0, which was really, really, unbelievably stupid of me. There were a lot of warnings and some errors that were caused by Block vs. Proc differences; these have been fixed. REXML passes all of the tests under Ruby 1.8.0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/quickpath.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rexml/quickpath.rb') diff --git a/lib/rexml/quickpath.rb b/lib/rexml/quickpath.rb index c099db857..2c54ac199 100644 --- a/lib/rexml/quickpath.rb +++ b/lib/rexml/quickpath.rb @@ -31,7 +31,7 @@ module REXML results = filter([element], path) when /^\*/u results = filter(element.to_a, path) - when /^[\[!\w:]/u + when /^[[!\w:]/u # match on child matches = [] children = element.to_a -- cgit