On Mar 9, 2009, at 5:48 AM, timc wrote:
>
>                  (re-seq #"([a-zA-Z_0-9]+)=([^ ]+)" arg))]
>

Two small suggestions--it's easier, and more legible to use \S to  
match non-whitespace characters:
(re-seq #"([a-zA-Z_0-9]+)=(\S+)" arg)

And you've basically defined the "word character" class \w verbatim  
in your example:
(re-seq #"(\w+)=(\S+)"

Aloha,
David Sletten


--~--~---------~--~----~------------~-------~--~----~
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