[Haskell-beginners] how to use regex replace
mklklk at hotmail.com
Fri Dec 11 09:40:18 EST 2009
yes it's very simple but does satisfy my need. Thank you very much!
actually I had spent time researching the regex packages on Hackage, it seems they doesn't provide such APIs for replace, but from my point of view the use of *replace* is as imporant as *match* in regular expression. Or I didn't find the right place?
> Date: Thu, 10 Dec 2009 17:57:59 +0000
> From: jakubuv at gmail.com
> To: mklklk at hotmail.com
> CC: beginners at haskell.org
> Subject: Re: [Haskell-beginners] how to use regex replace
> Would Text.Regex.subRegex do? It is in package regex-compat. Usage is
> easy, see .
> : http://hackage.haskell.org/packages/archive/regex-compat/0.92/doc/html/Text-Regex.html
> On Thu, Dec 10, 2009 at 06:50:11PM +0800, Kui Ma wrote:
> > Hi,
> > Can anyone introduce me how to use regex replace or give me web page links about this topic? thank you in advance!
> > Regards
> Heriot-Watt University is a Scottish charity
> registered under charity number SC000278.
Keep your friends updated―even when you’re not signed in.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners