$96 GRAYBYTE WORDPRESS FILE MANAGER $96

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/File/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/File//fnmatch-c.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Returns true if <em>path</em> matches against <em>pattern</em> The pattern is not a regular expression; instead it follows rules similar to shell filename globbing. It may contain the following metacharacters:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "<code>*</code>:"
    body: Matches any file. Can be restricted by other values in the glob. <tt>*</tt> will match all files; <tt>c*</tt> will match all files beginning with <tt>c</tt>; <tt>*c</tt> will match all files ending with <tt>c</tt>; and <b><tt>c</tt></b> will match all files that have <tt>c</tt> in them (including at the beginning or end). Equivalent to <tt>/ .* /x</tt> in regexp.
  - !ruby/struct:SM::Flow::LI 
    label: "<code>**</code>:"
    body: Matches directories recursively or files expansively.
  - !ruby/struct:SM::Flow::LI 
    label: "<code>?</code>:"
    body: Matches any one character. Equivalent to <tt>/.{1}/</tt> in regexp.
  - !ruby/struct:SM::Flow::LI 
    label: "<code>[set]</code>:"
    body: Matches any one character in <tt>set</tt>. Behaves exactly like character sets in Regexp, including set negation (<tt>[^a-z]</tt>).
  - !ruby/struct:SM::Flow::LI 
    label: "<code>\\</code>:"
    body: Escapes the next metacharacter.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: <em>flags</em> is a bitwise OR of the <tt>FNM_xxx</tt> parameters. The same glob pattern and flags are used by <tt>Dir::glob</tt>.
- !ruby/struct:SM::Flow::VERB 
  body: "   File.fnmatch('cat',       'cat')        #=&gt; true  : match entire string\n   File.fnmatch('cat',       'category')   #=&gt; false : only match partial string\n   File.fnmatch('c{at,ub}s', 'cats')       #=&gt; false : { } isn't supported\n\n   File.fnmatch('c?t',     'cat')          #=&gt; true  : '?' match only 1 character\n   File.fnmatch('c??t',    'cat')          #=&gt; false : ditto\n   File.fnmatch('c*',      'cats')         #=&gt; true  : '*' match 0 or more characters\n   File.fnmatch('c*t',     'c/a/b/t')      #=&gt; true  : ditto\n   File.fnmatch('ca[a-z]', 'cat')          #=&gt; true  : inclusive bracket expression\n   File.fnmatch('ca[^t]',  'cat')          #=&gt; false : exclusive bracket expression ('^' or '!')\n\n   File.fnmatch('cat', 'CAT')                     #=&gt; false : case sensitive\n   File.fnmatch('cat', 'CAT', File::FNM_CASEFOLD) #=&gt; true  : case insensitive\n\n   File.fnmatch('?',   '/', File::FNM_PATHNAME)  #=&gt; false : wildcard doesn't match '/' on FNM_PATHNAME\n   File.fnmatch('*',   '/', File::FNM_PATHNAME)  #=&gt; false : ditto\n   File.fnmatch('[/]', '/', File::FNM_PATHNAME)  #=&gt; false : ditto\n\n   File.fnmatch('\\?',   '?')                       #=&gt; true  : escaped wildcard becomes ordinary\n   File.fnmatch('\\a',   'a')                       #=&gt; true  : escaped ordinary remains ordinary\n   File.fnmatch('\\a',   '\\a', File::FNM_NOESCAPE)  #=&gt; true  : FNM_NOESACPE makes '\\' ordinary\n   File.fnmatch('[\\?]', '?')                       #=&gt; true  : can escape inside bracket expression\n\n   File.fnmatch('*',   '.profile')                      #=&gt; false : wildcard doesn't match leading\n   File.fnmatch('*',   '.profile', File::FNM_DOTMATCH)  #=&gt; true    period by default.\n   File.fnmatch('.*',  '.profile')                      #=&gt; true\n\n   rbfiles = '**' '/' '*.rb' # you don't have to do like this. just write in single string.\n   File.fnmatch(rbfiles, 'main.rb')                    #=&gt; false\n   File.fnmatch(rbfiles, './main.rb')                  #=&gt; false\n   File.fnmatch(rbfiles, 'lib/song.rb')                #=&gt; true\n   File.fnmatch('**.rb', 'main.rb')                    #=&gt; true\n   File.fnmatch('**.rb', './main.rb')                  #=&gt; false\n   File.fnmatch('**.rb', 'lib/song.rb')                #=&gt; true\n   File.fnmatch('*',           'dave/.profile')                      #=&gt; true\n\n   pattern = '*' '/' '*'\n   File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME)  #=&gt; false\n   File.fnmatch(pattern, 'dave/.profile', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=&gt; true\n\n   pattern = '**' '/' 'foo'\n   File.fnmatch(pattern, 'a/b/c/foo', File::FNM_PATHNAME)     #=&gt; true\n   File.fnmatch(pattern, '/a/b/c/foo', File::FNM_PATHNAME)    #=&gt; true\n   File.fnmatch(pattern, 'c:/a/b/c/foo', File::FNM_PATHNAME)  #=&gt; true\n   File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME)    #=&gt; false\n   File.fnmatch(pattern, 'a/.b/c/foo', File::FNM_PATHNAME | File::FNM_DOTMATCH) #=&gt; true\n"
full_name: File::fnmatch
is_singleton: true
name: fnmatch
params: |
  File.fnmatch( pattern, path, [flags] ) => (true or false)
  File.fnmatch?( pattern, path, [flags] ) => (true or false)

visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Constants
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Stat
--
3 Mar 2024 10.50 PM
root / linksafe
0755
atime-c.yaml
0.406 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
atime-i.yaml
0.458 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
basename-c.yaml
0.751 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
blockdev%3f-c.yaml
0.306 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
catname-c.yaml
0.475 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-File.yaml
5.454 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chardev%3f-c.yaml
0.307 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chmod-c.yaml
0.619 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chmod-i.yaml
0.617 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chown-c.yaml
0.685 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
chown-i.yaml
0.683 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
compare-c.yaml
0.398 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
copy-c.yaml
0.409 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ctime-c.yaml
0.471 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ctime-i.yaml
0.462 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete-c.yaml
0.414 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
directory%3f-c.yaml
0.406 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
dirname-c.yaml
0.576 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
executable%3f-c.yaml
0.347 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
executable_real%3f-c.yaml
0.356 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
exist%3f-c.yaml
0.345 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
exists%3f-c.yaml
0.347 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
expand_path-c.yaml
0.93 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
extname-c.yaml
0.614 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
file%3f-c.yaml
0.304 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
flock-i.yaml
1.327 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fnmatch%3f-c.yaml
4.748 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
fnmatch-c.yaml
4.746 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
ftype-c.yaml
0.74 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
grpowned%3f-c.yaml
0.401 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
identical%3f-c.yaml
0.869 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
install-c.yaml
0.531 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
join-c.yaml
0.447 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lchmod-c.yaml
0.433 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lchown-c.yaml
0.48 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
link-c.yaml
0.622 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lstat-c.yaml
0.633 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
lstat-i.yaml
0.64 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
makedirs-c.yaml
0.688 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
move-c.yaml
0.413 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mtime-c.yaml
0.406 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
mtime-i.yaml
0.38 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
1.02 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
o_chmod-i.yaml
0.218 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
owned%3f-c.yaml
0.357 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
path-i.yaml
0.522 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
pipe%3f-c.yaml
0.286 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readable%3f-c.yaml
0.339 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readable_real%3f-c.yaml
0.349 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
readlink-c.yaml
0.52 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
rename-c.yaml
0.446 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
safe_unlink-c.yaml
0.394 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
setgid%3f-c.yaml
0.305 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
setuid%3f-c.yaml
0.305 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
size%3f-c.yaml
0.341 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
size-c.yaml
0.266 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
socket%3f-c.yaml
0.294 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
split-c.yaml
0.532 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
stat-c.yaml
0.425 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
sticky%3f-c.yaml
0.305 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
symlink%3f-c.yaml
0.304 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
symlink-c.yaml
0.528 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
syscopy-c.yaml
0.319 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
truncate-c.yaml
0.624 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
truncate-i.yaml
0.624 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
umask-c.yaml
0.641 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
unlink-c.yaml
0.414 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
utime-c.yaml
0.386 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
writable%3f-c.yaml
0.339 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
writable_real%3f-c.yaml
0.349 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
zero%3f-c.yaml
0.302 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF