Winner Winner Chicken Dinner! Thanks. Where do I find that? Much appreciated!
On Wednesday, May 29, 2013 11:45:55 AM UTC-5, sw1nn wrote: > > You need to pass the multiline 'm' flag to the regex. some variant of: > > (def testcase "Line 1\nLine 2\nTarget Line\nLine 4\nNot a target line") > (println testcase) > (re-seq #"(?im)^target" testcase) > (re-seq #"(?im)target" testcase) > #'user/testcase > Line 1 > Line 2 > Target Line > Line 4 > Not a target line > nil > ("Target") > ("Target" "target") > > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.