[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lrexlib : newbie question
- From: Vnpenguin <vnpenguin@...>
- Date: Mon, 10 Sep 2007 20:23:00 +0200
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.