mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] more precise description of "**" in Dir.glob pattern [ci skip]
This commit is contained in:
parent
c56fdaecc4
commit
135d369096
1 changed files with 3 additions and 1 deletions
4
dir.rb
4
dir.rb
|
@ -81,7 +81,9 @@ class Dir
|
|||
# File::FNM_DOTMATCH flag or something like <code>"{*,.*}"</code>.
|
||||
#
|
||||
# <code>**</code>::
|
||||
# Matches directories recursively or files expansively.
|
||||
# Matches directories recursively if followed by <code>/</code>. If
|
||||
# this path segment contains any other characters, it is the same as the
|
||||
# usual <code>*</code>.
|
||||
#
|
||||
# <code>?</code>::
|
||||
# Matches any one character. Equivalent to <code>/.{1}/</code> in regexp.
|
||||
|
|
Loading…
Reference in a new issue