aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/quickpath.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:07:52 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:07:52 +0000
commite08f18becd2fdb9fde29c2e501ad84120a475d58 (patch)
tree3b1e5703a76307ca4505b3afb12c561803e88140 /lib/rexml/quickpath.rb
parent50e7c1c1495828120ad766e6fca0efba70f011b9 (diff)
downloadruby-e08f18becd2fdb9fde29c2e501ad84120a475d58.tar.gz
* lib/rexml/cdata.rb,lib/rexml/quickpath.rb,lib/rexml/parsers/baseparser.rb:
avoid warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3935 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 2c54ac1999..c099db8579 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