[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [LPeg] Pattern issues
- From: "Soni L." <fakedme@...>
- Date: Wed, 27 Jul 2016 14:01:55 -0300
Let's say I have a pattern `pat`.
If I do `Ct(Cg(pat, 0) * Cg(Ct(Cg(Cb(0), "tag")), 0))`, and `pat`
matches, do I get `{[0] = result_of_pat}` or do I get `{[0] =
{tag=result_of_pat}}` or do I get an error?
Also, are LPeg patterns evaluated left-to-right? (The Lua reference
manual isn't very clear on that...)
--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.