Which regular syntax does Text.Regex use?

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. Regards -------------- L.Guo 2007-06-11

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 http://www.haskell.org/ghc/docs/latest/html/libraries/regex-compat/Text-Rege... merely explains that it uses "Uses the POSIX regular expression interface". The Posix regular expressions are also called "extended regular expressions" to distinguish them from the very old "basic regular expressions". An online copy of a the relevant manual page is at http://www.wellho.net/regex/posix.html The specification is at http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html -- Chris
participants (2)
-
haskell@list.mightyreason.com
-
L.Guo