summaryrefslogtreecommitdiff
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
commit2403ad9e7de8976a83798f9d86f82f3b5ae0d2cd (patch)
treec0f4098655ece836190b90b412481b561d07e640 /lib/rexml/quickpath.rb
parent4d33715fe4b0c9750b4cf4e71166e8d67ecc8395 (diff)
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: svn+ssh://ci.ruby-lang.org/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 c099db8579..2c54ac1999 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