|
On 5/8/2012 1:09 AM, Sandeep Ghai wrote:
I basically want to match the strings from another data file.
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 It has links at the top to several other tutorials.When you ask completely open-ended "Please do all my work for me" questions with no evidence you've even really tried to solve the problem yourself, people on ANY list will often get annoyed.
Tim[1] http://duckduckgo.com does a particularly good job with programming queries, I find; YMMV.