[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Preg-match alternative in Lua
- From: Geoff Leyland <geoff_leyland@...>
- Date: Tue, 5 Jun 2012 17:40:56 +1200
On 5/06/2012, at 5:20 PM, Sandeep Ghai wrote:
> Hello Everyone,
> I just come across the 'preg-match' [1] function of PHP.
> Do we have similar function in Lua as well?
Is there a significant difference between preg-match and string:match? Because if not, then...
On 8/05/2012, at 7:09 PM, Sandeep Ghai wrote:
> Hello Everyone,
> I am presently working on "String Pattern Matching in Lua".
> I want to match a string like: "title" , "nodes" , "elements" present in line 1 ,in my data file " frame.flt"
On 9/05/2012, at 10:56 AM, Tim Mensch wrote:
> The first stop for a problem like this should be Google or another search engine [1]. Searching "String Pattern Matching In Lua" (the title you provided for this email, with Pattern spelled correctly) found this tutorial in the first few results:
>
> http://lua-users.org/wiki/PatternsTutorial
...Tim's advice from last time you asked was worth following!