Right, the outer parenthesis denote a list. That list contains only one element. The element is the vector ["qui" "ui" "i"]
On Thu, Dec 11, 2008 at 9:43 PM, Stephen C. Gilardi <squee...@mac.com> wrote: > > In the latter case the result is a seq containing a single element: > the vector. There is nothing to sort/it us sorted. > > --Steve > > > On Dec 12, 2008, at 12:14 AM, Oscar Picasso <oscarpica...@gmail.com> > wrote: > >> >> user> (sort (re-seq #"\w+" "the quick brown fox")) >> ("brown" "fox" "quick" "the") >> >> but >> user> (sort (re-seq #"q(u(i))?" "the quick brown fox")) >> (["qui" "ui" "i"]) >> >> Why it's not sorted on the later case? >> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---