diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-16 05:03:03 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-16 05:03:03 +0000 |
commit | 4b0115beb5a500b6ffae8f2c5b16a3d5e1916c0a (patch) | |
tree | a60be95b9a2d7e701feee759540c423ea1df258a /lib/rexml/quickpath.rb | |
parent | 8b684d1926c52b6459594cc9cace36d868e5895f (diff) | |
download | ruby-4b0115beb5a500b6ffae8f2c5b16a3d5e1916c0a.tar.gz |
* lib/rexml/quickpath.rb: escape '[' to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/quickpath.rb')
-rw-r--r-- | lib/rexml/quickpath.rb | 2 |
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 |