mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c: RDOC for File::FNM_CASEFOLD was missed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
53529eba90
commit
82593c058f
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Jun 12 14:15:20 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* dir.c: RDOC for File::FNM_CASEFOLD was missed.
|
||||
|
||||
Sat Jun 12 11:15:53 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* configure.in (target_os): strip -gnu suffix on Linux.
|
||||
|
|
3
dir.c
3
dir.c
|
@ -1605,6 +1605,9 @@ dir_entries(io, dirname)
|
|||
* File.fnmatch('ca[a-z]', 'cat') #=> true : inclusive bracket expression
|
||||
* File.fnmatch('ca[^t]', 'cat') #=> false : exclusive bracket expression ('^' or '!')
|
||||
*
|
||||
* File.fnmatch('cat', 'CAT') #=> false : case sensitive
|
||||
* File.fnmatch('cat', 'CAT', File::FNM_CASEFOLD) #=> true : case insensitive
|
||||
*
|
||||
* File.fnmatch('?', '/', File::FNM_PATHNAME) #=> false : wildcard doesn't match '/' on FNM_PATHNAME
|
||||
* File.fnmatch('*', '/', File::FNM_PATHNAME) #=> false : ditto
|
||||
* File.fnmatch('[/]', '/', File::FNM_PATHNAME) #=> false : ditto
|
||||
|
|
Loading…
Add table
Reference in a new issue