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 wrote:
>
> In the latter case the result is a seq containing a single element:
> the vector. There is nothing to sort/
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
wrote:
>
> user> (sort (re-seq #"\w+" "the quick brown fox"))
> ("brown" "fox" "quick" "the")
>
> but
> user> (sort (r
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