clj-glob
clj-glob copied to clipboard
quickly locate files using glob patterns, for Clojure
Example: To make it works on Windows, I need to use the following pattern: `resources\\*.ts` To make it works on nix systems, it's necessary to use the following pattern: `resources/*.ts`
Glob patterns should allow to go in parent directory: http://teaching.idallen.com/dat2330/06w/notes/glob_patterns.txt Example: ``` # echo ../* # match names in parent directory ``` I've tried to investigated source code & tests,...
Could you please add attribute/function to exclude files from result using glob patterns?
matching string "he?p" is not supposed to match "helpp". need "$" ``` clojure (defn- glob->regex "Takes a glob-format string and returns a regex." [s] (loop [stream s re "" curly-depth...