One strong point of PERL is regular expression matching. I am thinking about implementing a domain specific embeded language in Haskell for the same purpose. Inspired more or less by Parsec and after one hour of coding, I implemented such a simple matcher. It currently only matches a regular expression against a strings, tells us if it matches or not. It lacks the ability of binding certain parts of the string (which might be more useful). An example:

(more…)