lua-users home
lua-l archive

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


On Wed, Jan 26, 2011 at 4:21 AM, Miles Bader <miles@gnu.org> wrote:
> Hmm, still, his use of "recursive" doesn't seem to make any sense...

I think his point was that the definition of the class of regular
expressions is recursive, for example "E+F is a regular expression if
E and F are both regular expressions", "E* is a regular expression if
E is a regular expression", etc. The definition of Lua patterns is not
done in this way, it is done as: pattern -> pattern item -> character
class.