ruby-changes:28249
From: eregon <ko1@a...>
Date: Mon, 15 Apr 2013 07:38:35 +0900 (JST)
Subject: [ruby-changes:28249] eregon:r40301 (trunk): * dir.c (File.fnmatch): fix typo in documentation
eregon 2013-04-15 07:38:26 +0900 (Mon, 15 Apr 2013) New Revision: 40301 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40301 Log: * dir.c (File.fnmatch): fix typo in documentation Modified files: trunk/dir.c Index: dir.c =================================================================== --- dir.c (revision 40300) +++ dir.c (revision 40301) @@ -2061,7 +2061,7 @@ fnmatch_brace(const char *pattern, VALUE https://github.com/ruby/ruby/blob/trunk/dir.c#L2061 * * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/