aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-04 21:52:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-04 21:52:29 +0900
commitfb11e6089dbe9d995510977def038a21882bcffe (patch)
treecc402bc4d342ad7e22af0d16dbea9ff95e002258 /dir.c
parentdbfd4b780e3914a3f27e92c2248254452bf0fd6b (diff)
downloadruby-fb11e6089dbe9d995510977def038a21882bcffe.tar.gz
[DOC] Added File::FNM_SYSCASE example [Bug #16391] [ci skip]
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 93c696b42b..6a926f438c 100644
--- a/dir.c
+++ b/dir.c
@@ -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