lua-users home
lua-l archive

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


Hi all,
I'm a newbie with Lua. Installed Lua 5.1.2 on Windows 2k box. I added
also Lrexlib and try a small test:

------------------------------------------------
local rex = require "rex_pcre"
str = 'abc 123'
pat = '(\d+)'
nums = rex.match(str,pat)
print(nums)
-----------------------------------------------

But the result is nil :(
I'm wrong somewhere ?
Thank you in advance,
Q.