diff options
author | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-10 04:43:12 +0000 |
---|---|---|
committer | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-09-10 04:43:12 +0000 |
commit | 35551be6028626c44f90050be5937a48dbf7731b (patch) | |
tree | b35316db58610504cd6b1dbe95e886883e2b4868 /dir.c | |
parent | 49042ae821cb15986ab92d030960ee84154ae8a7 (diff) | |
download | ruby-35551be6028626c44f90050be5937a48dbf7731b.tar.gz |
* dir.c: Two small documentation fixes. [Bug #5302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1779,7 +1779,7 @@ dir_s_aref(int argc, VALUE *argv, VALUE obj) * More than two literals may be specified. * Equivalent to pattern alternation in * regexp. - * <code>\</code>:: Escapes the next metacharacter. + * <code> \ </code>:: Escapes the next metacharacter. * Note that this means you cannot use backslash in windows * as part of a glob, i.e. Dir["c:\\foo*"] will not work * use Dir["c:/foo*"] instead @@ -1923,7 +1923,7 @@ dir_entries(int argc, VALUE *argv, VALUE io) * Behaves exactly like character sets in * Regexp, including set negation * (<code>[^a-z]</code>). - * <code>\</code>:: Escapes the next metacharacter. + * <code> \ </code>:: Escapes the next metacharacter. * * <i>flags</i> is a bitwise OR of the <code>FNM_xxx</code> * parameters. The same glob pattern and flags are used by |