summaryrefslogtreecommitdiffstats
path: root/lib/rexml/quickpath.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-15 18:31:16 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-15 18:31:16 +0000
commitff1000f66febc57ed1a3806d0900bc0c7e8f3c53 (patch)
treec0f4098655ece836190b90b412481b561d07e640 /lib/rexml/quickpath.rb
parent131e67e834fe384cffe39453b259c77c8bb260ce (diff)
downloadruby-ff1000f66febc57ed1a3806d0900bc0c7e8f3c53.tar.gz
ruby-ff1000f66febc57ed1a3806d0900bc0c7e8f3c53.tar.xz
ruby-ff1000f66febc57ed1a3806d0900bc0c7e8f3c53.zip
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
Diffstat (limited to 'lib/rexml/quickpath.rb')
-rw-r--r--lib/rexml/quickpath.rb2
1 files changed, 1 insertions, 1 deletions
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