From 7514d35dc777b003d714d36be703b0c632ceb18f Mon Sep 17 00:00:00 2001 From: nagachika Date: Mon, 15 Apr 2013 14:09:18 +0000 Subject: merge revision(s) 40301: * dir.c (File.fnmatch): fix typo in documentation git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 27f16ebc4b..8b1b09e6d7 100644 --- a/dir.c +++ b/dir.c @@ -1994,7 +1994,7 @@ fnmatch_brace(const char *pattern, VALUE val, void *enc) * * File.fnmatch('\?', '?') #=> true # escaped wildcard becomes ordinary * File.fnmatch('\a', 'a') #=> true # escaped ordinary remains ordinary - * File.fnmatch('\a', '\a', File::FNM_NOESCAPE) #=> true # FNM_NOESACPE makes '\' ordinary + * File.fnmatch('\a', '\a', File::FNM_NOESCAPE) #=> true # FNM_NOESCAPE makes '\' ordinary * File.fnmatch('[\?]', '?') #=> true # can escape inside bracket expression * * File.fnmatch('*', '.profile') #=> false # wildcard doesn't match leading -- cgit v1.2.3