lua-users home
lua-l archive

Why re at all, not straight LPeg?

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


2015年08月03日 5:12 GMT+02:00 Sean Conner <sean@conman.org>:
> It doesn't have to use re, it can be in straight lpeg.
I've always thought of the re module as a demo application: see here,
this is how one should build a large, complex LPeg program.
You seem to prefer re and fall back to straight LPeg as a last resort.
Should I invest some time getting to grips with the idiolectic syntax
expected by re.compile, or is that recommended only for those who
already know and love several other regexes?

AltStyle によって変換されたページ (->オリジナル) /