Claus Reinke wrote:
* fix #1839, #1463, by supporting ghc-pkg bulk queries with substring
matching
- #1839 asks for a ghc-pkg dump feature, #1463 for the ability
to query the same fields in several packages at once.
- this patch enables substring matching for packages in 'list',
'describe', and 'field', and for modules in find-module. it
also allows for comma-separated multiple fields in 'field'.
substring matching can optionally ignore cases to avoid the
rather unpredictable capitalisation of packages.
- the patch is not quite as full-featured as the one attached
to #1839, but avoids the additional dependency on regexps.
open ended substrings are indicated by '.' (prefix., .suffix,
.infix.)
Wouldn't * be more conventional than .? * means "any substring" in
filename globbing, so most people will be familiar with that usage. I
suppose it would have to be quoted, but I'd pay that penalty. Anyone else
have any thoughts?
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc