
11 Jun
2007
11 Jun
'07
10:16 a.m.
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