Top "Lua-patterns" questions

Lua's native string pattern matching facility.

Escape string for Lua's string.format

I have a string I need to add a variable to so I use the string.format method, but the …

string lua escaping lua-patterns
Iterate over lines including blank lines

Given a multiline string with some blank lines, how can I iterate over lines in Lua including the blank lines? …

string lua string-matching lua-patterns