[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LPEG vs. PCRE (was: Can someone convert this POSIX regex to a Lua regex?)
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Thu, 22 Oct 2009 02:50:47 -0200
Roberto's talk at the 2008 Lua Workshop gives a nice summary:
LPEG patterns can be composed and abstracted away, so building a
complex pattern is much more like programming. LPEG's re module is
specially nice for the kinds of pattern for which you would use PCRE.
2009/10/22 Fernando P. García <email@example.com>:
>> Yeah, for anything non-trivial, you're going to be much happier with
>> lpeg anyway. It's just better.
> Based on your experience, may you tell me why LPEG is better than PCRE?
> Fernando P. García, http://www.develcuy.com
> Developer - Analista de Sistemas
> +51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú
> ** Antes de imprimir este mensaje piensa en tu compromiso con el medio
> ambiente, protegerlo depende de tí.