Re: problems with regex

2009-06-21 Thread Stephen C. Gilardi
On Jun 21, 2009, at 4:34 PM, Alpinweis wrote: I am trying some regex in Clojure and I have problems using regex literals. Don't know why the following doesn't seem to work: user=> (re-seq #"\\W+" "the quick brown fox") () user=> (re-seq #"\\w+" "the quick brown fox") () user=> (re-seq #"\\s"

problems with regex

2009-06-21 Thread Alpinweis
I am trying some regex in Clojure and I have problems using regex literals. Don't know why the following doesn't seem to work: user=> (re-seq #"\\W+" "the quick brown fox") () user=> (re-seq #"\\w+" "the quick brown fox") () user=> (re-seq #"\\s" "the quick brown fox") () user=> (re-seq #"\\S"