Re: Suggestion for new pattern item like %bxy
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Suggestion for new pattern item like %bxy
- From: "Soni L." <fakedme@...>
- Date: 2017年2月15日 12:50:22 -0200
On 15/02/17 12:47 PM, Roberto Ierusalimschy wrote:
2017年02月15日 12:35 GMT+02:00 Egor Skriptunoff <egor.skriptunoff@gmail.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.
-- Roberto
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.