[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Preg-match alternative in Lua
- From: Sandeep Ghai <sandeep.ghai92@...>
- Date: Tue, 5 Jun 2012 12:36:15 +0530
> I'm afraid I'm not quite sure I understand, but does the following do what you mean by "extract a set of data"?
I think, you understand well.
> Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
>> =("test a123a test"):match("a(%d+)a")
I want only this type of thing.
I hope it will serve my purpose.
Thanks a ton. :-)