diff --git a/dir.rb b/dir.rb index da19fc7002..eb46305013 100644 --- a/dir.rb +++ b/dir.rb @@ -81,7 +81,9 @@ class Dir # File::FNM_DOTMATCH flag or something like "{*,.*}". # # **:: - # Matches directories recursively or files expansively. + # Matches directories recursively if followed by /. If + # this path segment contains any other characters, it is the same as the + # usual *. # # ?:: # Matches any one character. Equivalent to /.{1}/ in regexp.