diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-04 21:52:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-04 21:52:29 +0900 |
commit | fb11e6089dbe9d995510977def038a21882bcffe (patch) | |
tree | cc402bc4d342ad7e22af0d16dbea9ff95e002258 /dir.c | |
parent | dbfd4b780e3914a3f27e92c2248254452bf0fd6b (diff) |
[DOC] Added File::FNM_SYSCASE example [Bug #16391] [ci skip]
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3176,6 +3176,7 @@ fnmatch_brace(const char *pattern, VALUE val, void *enc) * * File.fnmatch('cat', 'CAT') #=> false # case sensitive * File.fnmatch('cat', 'CAT', File::FNM_CASEFOLD) #=> true # case insensitive + * File.fnmatch('cat', 'CAT', File::FNM_SYSCASE) #=> true or false # depends on the system default * * File.fnmatch('?', '/', File::FNM_PATHNAME) #=> false # wildcard doesn't match '/' on FNM_PATHNAME * File.fnmatch('*', '/', File::FNM_PATHNAME) #=> false # ditto |