lua-users home
lua-l archive

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

2013/5/8 Roberto Ierusalimschy <>:
>> /number skips captures with no values, whereas /string counts them.
> This is really weird, although compatible with the documentation :). One
> counts values, the other counts captures.

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, PUC-Rio
> =lpeg.version()
> local Cc=lpeg.Cc; return (Cc(nil)*Cc()/1):match""
Segmentation fault (core dumped)