lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Rajesh Malepati <chittoor@gmail.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.

-Miles

-- 
(\(\
(^.^)
(")")
*This is the cute bunny virus, please copy this into your sig so it can spread.