mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c: Updated RDocs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
589cdd4d78
commit
51ab50efd3
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
Mon Apr 19 18:27:26 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
Mon Apr 19 20:58:44 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* dir.c: Updated RDocs.
|
||||
|
||||
|
|
3
dir.c
3
dir.c
|
@ -1601,6 +1601,7 @@ dir_entries(io, dirname)
|
|||
* File.fnmatch('c?t', 'cat') #=> true : '?' match only 1 character
|
||||
* File.fnmatch('c??t', 'cat') #=> false : ditto
|
||||
* File.fnmatch('c*', 'cats') #=> true : '*' match 0 or more characters
|
||||
* File.fnmatch('c*t', 'c/a/b/t') #=> true : ditto
|
||||
* File.fnmatch('ca[a-z]', 'cat') #=> true : inclusive bracket expression
|
||||
* File.fnmatch('ca[^t]', 'cat') #=> false : exclusive bracket expression ('^' or '!')
|
||||
*
|
||||
|
@ -1615,7 +1616,7 @@ dir_entries(io, dirname)
|
|||
*
|
||||
* File.fnmatch('*', '.profile') #=> false : wildcard doesn't match leading
|
||||
* File.fnmatch('*', '.profile', File::FNM_DOTMATCH) #=> true period by default.
|
||||
* File.fnmatch('.*' '.profile') #=> true
|
||||
* File.fnmatch('.*', '.profile') #=> true
|
||||
*
|
||||
* File.fnmatch('*', 'dave/.profile') #=> true
|
||||
* File.fnmatch('* IGNORE /*', 'dave/.profile', File::FNM_PATHNAME) #=> false
|
||||
|
|
Loading…
Reference in a new issue