On Tue, Jul 17, 2012 at 9:54 AM, C K Kashyap <ckkashyap@gmail.com> wrote:
I guess I better invest my time in Parsec then :)

That's certainly more Haskelly... but it's often possible to rephrase a regexp in POSIX ERE language without using the non-greedy PCREism.  What exactly are you trying to match / what is your PCRE regexp?

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms