lua-users home
lua-l archive

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




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.