The Glob package

[Tags:bsd3, library, test]

A library for globbing: matching patterns against file paths.


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.4, 0.5, 0.5.1, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11
Change log CHANGELOG.txt
Dependencies base (==4.*), containers (<0.6), directory (<1.3), dlist (>=0.4 && <0.9), filepath (>=1.1 && <1.5), semigroups (==0.18.*), transformers (>=0.2 && <0.6), transformers-compat (>=0.3 && <0.6), Win32 (==2.*) [details]
License BSD3
Author Matti Niemenmaa
Maintainer Matti Niemenmaa <matti.niemenmaa+glob@iki.fi>
Stability provisional
Category System
Home page http://iki.fi/matti.niemenmaa/glob/
Source repository head: git clone https://github.com/Deewiant/glob
Uploaded Mon Aug 8 16:58:11 UTC 2016 by MattiNiemenmaa
Distributions Arch:0.7.11, Debian:0.7.5, FreeBSD:0.7.5, LTSHaskell:0.7.11, NixOS:0.7.11, Stackage:0.7.11, Tumbleweed:0.7.11
Downloads 20880 total (52 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-08-08 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for Glob

Readme for Glob-0.7.11

This is Glob, a Haskell library for globbing, i.e. pattern matching file paths
akin to the POSIX glob() function. Haddock documentation is included, and can
be built with the 'cabal haddock' command. Basic usage info is repeated below:

Matching pattern (a String) against filepath (a FilePath):

	match (compile pattern) filepath

Matching a pattern against all paths in the current working directory:

	glob pattern

Matching a pattern against all paths in a given directory (a FilePath):

	globDir1 (compile pattern) directorypath

Matching a list of patterns against all paths in a given directory, returning
the matches for each pattern as well as the paths not matched by any of the
patterns:

	globDir (map compile patterns) directorypath