[Haskell-cafe] Which regular syntax does Text.Regex use?

haskell at list.mightyreason.com haskell at list.mightyreason.com
Mon Jun 11 06:16:35 EDT 2007

L.Guo wrote:
> Hi All:
> I wrote this func :
>   match = matchRegex . mkRegex
> And when using it, I found that I have not even know the syntax of Regex.
> Eager for your hint.

The Text.Regex documentation at
merely explains that it uses "Uses the POSIX regular expression interface".
The Posix regular expressions are also called "extended regular expressions" to
them from the very old "basic regular expressions".

An online copy of a the relevant manual page is at

The specification is at


More information about the Haskell-Cafe mailing list