[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Suggestion for new pattern item like %bxy
- From: "Soni L." <fakedme@...>
- Date: Wed, 15 Feb 2017 12:50:22 -0200
On 15/02/17 12:47 PM, Roberto Ierusalimschy wrote:
2017-02-15 12:35 GMT+02:00 Egor Skriptunoff <email@example.com>:
Delimiters are usually part of the container, not part of the payload.
In real life you are usually throwing away all packing materials
of all the thing you have bought, isn't it?
As Jorome already pointed out, %b and %B are not on the same foot. You
guys are actually comparing '%B' with '(%b)'. Again repeating Jerome,
a '%B' would be a new class of beast that matches *and* captures,
something that does not currently exist in Lua.
I read this as "you should use LPeg".
To OP: You should use LPeg.
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.