[Haskell-cafe] Package for regular expressions

Simon Marechal simon at banquise.net
Sun Feb 9 13:38:32 UTC 2014


On 02/09/2014 12:14 PM, Daniil Frumin wrote:
> What is up with the regular expression packages? Which one is the go-to package?
> There are really a bunch of them around (regex-compat, regex-tdfa,
> regex-posicx, regex-compat-tdfa,, ..) and it's not obvious at all what
> is the difference between them and which one should I use.

This might be outdated, but provides a good comparison :

http://www.haskell.org/haskellwiki/Regular_expressions

I went fairly quickly to regex-pcre-builtin, as it's actually Perl
compatible, which I believe is the most common regex dialect in use. It
is also straightforward to use.


More information about the Haskell-Cafe mailing list