summaryrefslogtreecommitdiff
path: root/sysutils/hs-filepattern/DESCR
blob: 57084da9cc670b8331717a3ba2f45aceadeeb15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
A library for matching files using patterns such as "src/**/*.png" for
all .png files recursively under the src directory. Features:

* All matching is O(n). Most functions precompute some information
  given only one argument.

* See "System.FilePattern" and '?==' simple matching and semantics.

* Use 'match' and 'substitute' to extract suitable strings from the *
  and ** matches, and substitute them back into other patterns.

* Use 'step' and 'matchMany' to perform bulk matching of many patterns
  against many paths simultaneously.

* Use "System.FilePattern.Directory" to perform optimised directory
  traverals using patterns.