[Haskell-cafe] Non-greedy match in Text.Regx.Posix

Brandon Allbery allbery.b at gmail.com
Tue Jul 17 16:58:58 CEST 2012


On Tue, Jul 17, 2012 at 9:54 AM, C K Kashyap <ckkashyap at 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 at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120717/8c8ccc15/attachment.htm>


More information about the Haskell-Cafe mailing list