<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
yes it's very simple but does satisfy my need. Thank you very much! <BR>
<BR>
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?<BR>
<BR>
Thanks again!<BR> <BR>> Date: Thu, 10 Dec 2009 17:57:59 +0000<BR>> From: jakubuv@gmail.com<BR>> To: mklklk@hotmail.com<BR>> CC: beginners@haskell.org<BR>> Subject: Re: [Haskell-beginners] how to use regex replace<BR>> <BR>> Hi,<BR>> <BR>> Would Text.Regex.subRegex do? It is in package regex-compat. Usage is<BR>> easy, see [1].<BR>> <BR>> Sincerely,<BR>> jan.<BR>> <BR>> [1]: http://hackage.haskell.org/packages/archive/regex-compat/0.92/doc/html/Text-Regex.html<BR>> <BR>> On Thu, Dec 10, 2009 at 06:50:11PM +0800, Kui Ma wrote:<BR>> > <BR>> > Hi,<BR>> > <BR>> > Can anyone introduce me how to use regex replace or give me web page links about this topic? thank you in advance!<BR>> > <BR>> > Regards<BR>> > <BR>> <BR>> <BR>> -- <BR>> Heriot-Watt University is a Scottish charity<BR>> registered under charity number SC000278.<BR>> <BR>                                            <br /><hr />Keep your friends updated¡ª <a href='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' target='_new'>even when you¡¯re not signed in.</a></body>
</html>