[Haskell-beginners] how to use regex replace
Kui Ma
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?
Thanks again!
> 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
>
> Hi,
>
> Would Text.Regex.subRegex do? It is in package regex-compat. Usage is
> easy, see [1].
>
> Sincerely,
> jan.
>
> [1]: 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.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20091211/986a1119/attachment.html
More information about the Beginners
mailing list