Lua String Find Multiple

Allows string.find with a table of patterns to lookfor.

If the pattern is a table, and a match is found, the last return value is the pattern string that matched.

See: Lua 5.1 Manual string.find