On Dec 6, 1:29 pm, Juergen Gmeiner <spamless.juer...@gmail.com> wrote:
> Hi List,
>
> a little thing I have grown quite fond of:
>
> (re-gsub#"\b(?:word|expr|whatever)\b"
>          {"word" "A WORD"
>           "expr" "An Expression"
>           "whatever" "WHATEVER!"}
>         "welcome to the united states of whatever")
>
> Patch athttp://groups.google.at/group/clojure/web/re-gsub.patch
>
> For completeness, I also implemented re-sub with a function as
> replacement. Never needed it though.

This is good!  Please send in your Contributor Agreement so this patch
can be checked in.

http://clojure.org/contributing

--Chouser
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to