lua-users home
lua-l archive

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


"The re module (provided by file re.lua in the distribution) supports
a somewhat conventional regex syntax for pattern usage within LPeg."

I don't think fold captures are part of regex. A Google search on
"fold site:www.regular-expressions.info" gives one hit, dealing with a
totally different meaning of 'fold'.
Op Do., 30 Aug. 2018 om 12:50 het Andrew Gierth
<andrew@tao11.riddles.org.uk> geskryf:
>
> Is there some good reason why the "re" module doesn't support creating a
> fold capture?
>
> --
> Andrew.
>