diff --git a/ChangeLog b/ChangeLog index 2f45eabb17..853b08465a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 5 06:20:57 2010 Eric Hodel + + * dir.c: Clarification of what '*' matches. Patch by John Wells + + Thu Jun 3 00:58:45 2010 Aaron Patterson * ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility diff --git a/dir.c b/dir.c index fa7cdd03ea..cab0cdcc07 100644 --- a/dir.c +++ b/dir.c @@ -1741,7 +1741,10 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj) * \*c\* will match all files that * have c in them (including at * the beginning or end). Equivalent to - * / .* /x in regexp. + * / .* /x in regexp. Note, this + * will not match Unix-like hidden files (dotfiles). + * In order to include those in the match results, + * you must use something like "{*,.*}". * **:: Matches directories recursively. * ?:: Matches any one character. Equivalent to * /.{1}/ in regexp.