Re: beginner questions

2012-08-08 Thread Sean Corfield
On Wed, Aug 8, 2012 at 12:06 AM, Catonano wrote: > because it seems that in clojure.string there's no grep function > > Is grep gone ? Look into re-find etc. There's pretty good regex support in core Clojure. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World

Re: beginner questions

2012-08-08 Thread Catonano
Sean, 2012/8/5 Sean Corfield > On Sun, Aug 5, 2012 at 12:53 AM, Catonano wrote: > > (clojure.contrib.str-utils2/grep #"myPattern" "one row \n another row") > > Just as a side note, the old monolithic contrib library has been > deprecated and many parts are no longer maintained (and you may have

Re: beginner questions

2012-08-05 Thread Sean Corfield
On Sun, Aug 5, 2012 at 12:53 AM, Catonano wrote: > (clojure.contrib.str-utils2/grep #"myPattern" "one row \n another row") Just as a side note, the old monolithic contrib library has been deprecated and many parts are no longer maintained (and you may have problems trying to use it with Clojure 1

Re: beginner questions

2012-08-05 Thread Catonano
Ok, I found split-lines, sorry for the noise 2012/8/5 Catonano > Hello people, > > I'm playing with Clojure and I have some silly questions. > > Is this the right place ? Is there a list or forum more apt to elementary > level questions ? > > Anyway, my question is: I have a short text, it's som

beginner questions

2012-08-05 Thread Catonano
Hello people, I'm playing with Clojure and I have some silly questions. Is this the right place ? Is there a list or forum more apt to elementary level questions ? Anyway, my question is: I have a short text, it's some javascript source code. I'd like to apply grep onto it in order to extract e