[racket-dev] `regexp-replaces'
On Fri, Jun 22, 2012 at 5:36 PM, Eli Barzilay <eli at barzilay.org> wrote:
> Yesterday, Laurent wrote:
> > add1
> > I also use such a function from time to time, and I'd be happy to
> > have it in the string or regexp libs.
>
> I'll assume that without other replies, there are no objections to
> adding it?
>
> Also, at least as a start, I'm thinking of a function that looks just
> like the one from the ffi:
>
> (regexp-replaces str (list (list regexp replacement)
> ...))
>
> Anything else that this should do?
>
Maybe we could consider dictionaries for the replacement lists?
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120622/ee01f475/attachment.html>