Regexp library

Ian Lynagh igloo at
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

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
darcs get


More information about the Libraries mailing list