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: Roberto Ierusalimschy <roberto@...>
- Date: 2017年2月15日 12:47:47 -0200
> 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