[Haskell-cafe] ANNOUNCE: Glob 0.1, globbing library
Matti Niemenmaa
matti.niemenmaa+news at iki.fi
Fri Oct 17 16:02:59 EDT 2008
Greetings to all,
I hereby announce the release of Glob 0.1, a small library for glob-matching
purposes based on a subset of zsh's syntax.
Web page at: http://iki.fi/matti.niemenmaa/glob/index.html
Hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Glob
Simple example: match (compile "foo*baz") "foobarbaz" == True.
It can also group the contents of a directory given a list of patterns to match:
globDir [compile "foo*baz"] "<a directory containing foobarbaz and joe>" gives
(["dir/foobarbaz"],["dir/joe"]).
Comments, complaints, feature requests, bug reports are all welcome. It should
work on both GHC 6.8 and 6.10, but I've only tested the latter.
More information about the Haskell-Cafe
mailing list