[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Can someone convert this POSIX regex to a Lua regex?
- From: Miles Bader <miles@...>
- Date: Thu, 22 Oct 2009 12:47:44 +0900
Rajesh Malepati <email@example.com> writes:
>> Actually started doing that, but it's quite complicated. Can we have |
>> in Lua regexp pretty please? I can work around most other limitations,
>> but alternatives are hard (especially like /hi (foo|bar)+ there/).
> Can you try using LPeg instead ?
> See http://www.inf.puc-rio.br/~roberto/lpeg/
Yeah, for anything non-trivial, you're going to be much happier with
lpeg anyway. It's just better.
*This is the cute bunny virus, please copy this into your sig so it can spread.