diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-12 05:18:23 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-12 05:18:23 +0000 |
commit | 6524792969fd4548c70e17ac0ff43e96ecb54d06 (patch) | |
tree | b5b7f80698493555ba481f7855c23936c9269b31 /dir.c | |
parent | ea52c77a75d762a3e6e124c2b97ea7b69a5042da (diff) | |
download | ruby-6524792969fd4548c70e17ac0ff43e96ecb54d06.tar.gz ruby-6524792969fd4548c70e17ac0ff43e96ecb54d06.tar.xz ruby-6524792969fd4548c70e17ac0ff43e96ecb54d06.zip |
* dir.c: RDOC for File::FNM_CASEFOLD was missed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |