On Fri, Sep 12, 2008 at 1:07 PM, Stuart Sierra <[EMAIL PROTECTED]> wrote: > > Hi Chris, just noticed this post. I wanted re-split to behave like > Perl/Ruby's split, although the dot-method syntax makes it redundant > with (.split string "regex"). > > String.split(...) takes a String argument as the regex, not a Pattern; > not sure if there's a performance penalty from recompiling the regex.
Now that you mention it, I had noticed that before. > But sure, add yours in too. Maybe call it re-partition, since it's a > bit like Rich's partition-by (in clojure.contrib.seq-utils). Works for me -- added. --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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---