[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua match regex
- From: "Pete Kay" <petedao@...>
- Date: Fri, 14 Nov 2008 19:36:23 +0800
Hi,
I am struggling with trying to match regex agains string. Let's say I have a reg that looks like 4|44|22|445, basically a bunch of arbitrary numbers. Is that any Lua function that can tell me if a string match exactly one of those numbers?
Any suggestion will be great.
Thanks,
Pete