lua-users home
lua-l archive

Re: lpeg re.lua bug and provided fix

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


> = re.match("aaand", "[a]^2")
> .\re.lua: attempt to perform arithmetic on local 'p' (a string value)
> 
> the fix is simple, just make sure class range ALWAYS return lpeg object
Thanks for the report.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /