This works! I really appreciate your help. Thank you very much. On Jul 21, 2:33 am, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > the anonymous function takes only one argument which contains the matches. > You have to extract the data from there. > > user=> (clojure.string/replace "The coror is red." > #"([aeiou])(?:r)([aeiou])" (fn [[_complete-match left-vowel right-vowel]] > (str left-vowel "l" right-vowel))) > "The color is red." > > Sincerely > Meikel
-- 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 Note that posts from new members are moderated - please be patient with your first post. 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