[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LPeg: inconsistencies regarding empty captures
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 8 May 2013 13:59:20 -0300
> I'm really scared of saying something is a bug nowadays.
> So I'll confine myself to asking whether the following behaviour
> is reproducible on other systems.
> $ lua -l lpeg
> Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio
> > =lpeg.version()
> > local Cc=lpeg.Cc; return (Cc(nil)*Cc()/1):match""
> Segmentation fault (core dumped)
It seems to be a bug (but it only happens with Lua 5.2).