зеркало из https://github.com/github/ruby.git
* 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:
Родитель
53529eba90
Коммит
82593c058f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче