Regexp library

Graham Klyne GK at ninebynine.org
Tue Oct 26 03:39:37 EDT 2004


Cool!

Looking at HTests, I guess that the list of substrings returned corresponds 
to the brackets in the regexp?

Is the darcs subdirectory just there for version control?

#g
--

At 03:58 26/10/04 +0100, Ian Lynagh wrote:

>Hi all,
>
>I've written a simple regexp library for POSIX EREs, with a similar
>interface to Text.Regex.
>
>
>
>Benefits over Text.Regex include:
>
>Works in nhc98
>
>Laziness:
>RE> match "^a" ('a':error "Foo")
>Just []
>
>Could easily be altered for regexps on lists of other datatypes
>
>
>
>
>Missing features:
>
>Text.Regex's matchRegexAll (should be simple to add)
>
>[[=a=]] and [[.ch.]] (don't plan to add these)
>
>
>
>I haven't looked at cabalising it or anything yet.
>It can be downloaded from
>http://urchin.earth.li/~ian/re-0.0.1.tar.gz
>or
>darcs get http://urchin.earth.li/darcs/ian/regexp
>
>
>
>Thanks
>Ian
>
>_______________________________________________
>Libraries mailing list
>Libraries at haskell.org
>http://www.haskell.org/mailman/listinfo/libraries

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact



More information about the Libraries mailing list