[Haskell-cafe] why no replace function in our regular expression libs ?
simon at joyful.com
Fri Jan 25 20:06:50 CET 2013
People have put a lot of work into regular expression libraries on
haskell. Yet it seems very few of them provide a replace/substitute
function - just regex-compat and regepr as far as I know. Why is that ?
<sclv> iirc its because that's a really mutatey operation in the
underlying c libs
<sclv> should be simple enough to write a general purpose wrapper layer
that uses captures to create the effect
Secondly, as of today what do y'all do when you need that functionality
More information about the Haskell-Cafe