lua-users home
lua-l archive

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


Tim Johnson wrote:
> I believe that the lua pattern matching system is more than adequate
> for my usage, however, should I do a presentation to the
> organization, I believe that I will be asked the following question:  
> 
> """ If lua is so extendable, is there a patch available that will
>      enable full regexp functionality?
> """

I don't know of a patch to closely integrate regexp into the language
itself, but there are bindings for third party regexp libraries for Lua,
for example lrexlib [1]. Once installed it's as easy to use as the
default string.match function.

[1] http://lrexlib.luaforge.net/