diff --git a/dir.c b/dir.c index 23b9ecfd3d..a2e8e037c5 100644 --- a/dir.c +++ b/dir.c @@ -1733,8 +1733,8 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj) * regexp. * \:: Escapes the next metacharacter. * Note that this means you cannot use backslash in windows - * as part of a glob, i.e. Dir["c:\\*"] will not work - * use Dir["c:/*"] instead + * as part of a glob, i.e. Dir["c:\\foo*"] will not work + * use Dir["c:/foo*"] instead * * Dir["config.?"] #=> ["config.h"] * Dir.glob("config.?") #=> ["config.h"]