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