[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lpeg re.lua bug and provided fix
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 1 Feb 2018 13:59:51 -0200
> We do not need every item to be lpeg object, only its built class
> (item were used ONLY to build class range)
I don't think this is true. All uses of 'item' demand it to be a
pattern. What happens is that other operations (e.g., '*', '-')
coerce it to a pattern when it is not one.
> one of item choice is defined, which included user defined constants
> that may not be lpeg object. So, the bug is still there.
Sure. It should be fixed, too.
-- Roberto