1
0
Fork 0
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:
Nobuyoshi Nakada 2020-10-27 08:51:54 +09:00
parent c56fdaecc4
commit 135d369096
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

4
dir.rb
View file

@ -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.