зеркало из https://github.com/github/ruby.git
[DOC] more precise description of "**" in Dir.glob pattern [ci skip]
This commit is contained in:
Родитель
c56fdaecc4
Коммит
135d369096
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче