52 posts
Posted 09 June 2013 - 01:05 PM
Since I was testing out some stuff with string.gmatch I found that it is really useful. What I don't know is that how do you work string.gmatch because I only know the basic. I want to know what does "(%w+)" mean and how would I use something like this. Also how do you combine these magic character and character classes to get what I want.
1054 posts
Posted 09 June 2013 - 01:11 PM
Sorry, but I believe it's best that we point you to
the PIL page about patterns,
the lua-users tutorial about patterns and
the String library tutorial .
Those sources answer all your questions perfectly. If you have questions after reading that, we can help you here. :)/>
892 posts
Location
Where you'd least expect it.
Posted 09 June 2013 - 01:13 PM
Dont forget about the
Reference Manual!