mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix return value in example by @rkh [fix GH-284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f75da76ffc
commit
91d5cda26d
1 changed files with 1 additions and 1 deletions
2
dir.c
2
dir.c
|
@ -2042,7 +2042,7 @@ fnmatch_brace(const char *pattern, VALUE val, void *enc)
|
|||
* File.fnmatch('cat', 'category') #=> false # only match partial string
|
||||
*
|
||||
* File.fnmatch('c{at,ub}s', 'cats') #=> false # { } isn't supported by default
|
||||
* File.fnmatch('c{at,ub}s', 'cats', File::FNM_EXTGLOB) #=> false # { } is supported on FNM_EXTGLOB
|
||||
* File.fnmatch('c{at,ub}s', 'cats', File::FNM_EXTGLOB) #=> true # { } is supported on FNM_EXTGLOB
|
||||
*
|
||||
* File.fnmatch('c?t', 'cat') #=> true # '?' match only 1 character
|
||||
* File.fnmatch('c??t', 'cat') #=> false # ditto
|
||||
|
|
Loading…
Add table
Reference in a new issue