Hello.

I am looking for a substring replacement based on Perl like regular
expressions that would let me use part of the original string in the
replacement string. Something like:

   reReplace "name is (.*)\\." "hi \1!" "my name is john."

which would result in

   "hy john!"

Any help?

Romildo

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to