lua-users home
lua-l archive

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

Op Sa. 8 Des. 2018 om 12:37 het Sean Conner <> geskryf:

>   Personally, I prefer LPeg as I find it easier to read than the Lua
> patterns.

There is nothing that forces you to write a Lua pattern as a single
daunting string literal. You can compose it as table.concat{first,
second, third}, defining the components separately. As you would in a
decently written piece of Lpeg code.