mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c (dir_s_glob): get rid of comment starter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a1d4164257
commit
cb9da52cde
1 changed files with 2 additions and 2 deletions
4
dir.c
4
dir.c
|
@ -1733,8 +1733,8 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj)
|
|||
* regexp.
|
||||
* <code>\</code>:: 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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue