Regexp library
Ian Lynagh
igloo at earth.li
Mon Oct 25 22:58:57 EDT 2004
Hi all,
I've written a simple regexp library for POSIX EREs, with a similar
interface to Text.Regex.
Benefits over Text.Regex include:
Works in nhc98
Laziness:
RE> match "^a" ('a':error "Foo")
Just []
Could easily be altered for regexps on lists of other datatypes
Missing features:
Text.Regex's matchRegexAll (should be simple to add)
[[=a=]] and [[.ch.]] (don't plan to add these)
I haven't looked at cabalising it or anything yet.
It can be downloaded from
http://urchin.earth.li/~ian/re-0.0.1.tar.gz
or
darcs get http://urchin.earth.li/darcs/ian/regexp
Thanks
Ian
More information about the Libraries
mailing list