[Rake-devel] FileList#exclude and globbing patternsl

Jim Weirich jim.weirich at gmail.com
Mon Nov 3 15:31:20 EST 2008


On Nov 3, 2008, at 6:28 AM, Ittay Dror wrote:
> When using FileList#exclude with a globbing pattern, it uses  
> Dir[pat] to get all files matching the pattern and then adds them to  
> an ignore list which is then converted to a regular expression.
>
> This process is very slow. Why not use File.fnmatch?

Good question.  The biggest reason is probably that I'm not familiar  
with fnmatch.

Want to supply a patch?

-- 
-- Jim Weirich
-- jim.weirich at gmail.com



More information about the Rake-devel mailing list