lua-users home
lua-l archive

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


> > 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?
> 
>   I started with it because I found it easier to read and write (it's more
> like BNF than it is a regular expression).  It also makes it easier to
> translate the various RFCs into something useful.  

This is the main motivation for 're': an easy entry-level for LPeg. Many
people start with 're' and, as they get experience with the various
constructions, move to the basic API.

-- Roberto