summaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-19 11:59:33 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-19 11:59:33 +0000
commitb85fa939943026d0b5d5598bfd42315aa57b39bc (patch)
tree8fcbe4c24d9e941b401a905dda53bc38c6d663af /dir.c
parent7c35071030253e9cbd866f53d0bcefca8fc75af8 (diff)
downloadruby-b85fa939943026d0b5d5598bfd42315aa57b39bc.tar.gz
ruby-b85fa939943026d0b5d5598bfd42315aa57b39bc.tar.xz
ruby-b85fa939943026d0b5d5598bfd42315aa57b39bc.zip
* dir.c: Updated RDocs.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 59b17ef3d..3f2552c33 100644
--- a/dir.c
+++ b/dir.c
@@ -1601,6 +1601,7 @@ dir_entries(io, dirname)
* File.fnmatch('c?t', 'cat') #=> true : '?' match only 1 character
* File.fnmatch('c??t', 'cat') #=> false : ditto
* File.fnmatch('c*', 'cats') #=> true : '*' match 0 or more characters
+ * File.fnmatch('c*t', 'c/a/b/t') #=> true : ditto
* File.fnmatch('ca[a-z]', 'cat') #=> true : inclusive bracket expression
* File.fnmatch('ca[^t]', 'cat') #=> false : exclusive bracket expression ('^' or '!')
*
@@ -1615,7 +1616,7 @@ dir_entries(io, dirname)
*
* File.fnmatch('*', '.profile') #=> false : wildcard doesn't match leading
* File.fnmatch('*', '.profile', File::FNM_DOTMATCH) #=> true period by default.
- * File.fnmatch('.*' '.profile') #=> true
+ * File.fnmatch('.*', '.profile') #=> true
*
* File.fnmatch('*', 'dave/.profile') #=> true
* File.fnmatch('* IGNORE /*', 'dave/.profile', File::FNM_PATHNAME) #=> false