Ok, I found split-lines, sorry for the noise

2012/8/5 Catonano <caton...@gmail.com>

> 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 exactly one row.
>
> I tried
>
> (clojure.contrib.str-utils2/grep #"myPattern" "one row \n another row")
>
> but I got an empty list as result
>
> While (re-find #"myPattern" "example row containing myPattern")
>
> works, it spits back myPattern.
>
> What am I missing ?
>
> Thanks
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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