I still don’t understand pattern matching, so can any of you tell me what the best pattern is to check if a string is in email format?
**This **will help. I learned pretty much all I needed to know in 1 hour.
As for your email pattern; there are several valid patterns. Here is a good one:
oh god. I really need to learn regular expressions.
Uhh… that won’t work. Lua patterns are NOT the same as regular expressions, not even near.
Use this one:
Shit. I was preferring regular expressions