mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rexml/quickpath.rb (REXML::QuickPath::match):
escape '[' to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6e41de6767
commit
d430692b95
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Oct 11 17:09:21 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/rexml/quickpath.rb (REXML::QuickPath::match):
|
||||
escape '[' to avoid warning.
|
||||
|
||||
Sat Oct 11 16:08:41 2003 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/pathname.rb (realpath): check existence of the file.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue