lua
comment
\-\-\[\[
\-\-\]\]
SYNTAX_ERROR
\-\-[ \t]*TODO[ \t]*:(.|\\[\\\n])*$
comment
\-\-(.|\\[\\\n])*$
doubleQuoteText
"(.|\\[\\"])*"
doubleQuoteText
'(.|\\[\\'])*'
keyword
\@and|break|do|elseif|else|end|for|function|if|in|local|nil|not|or|repeat|return|then|until|while|require\@
number
\@((0(x|X)[0-9a-fA-F]*)|(\d+\.?\d*|\.\d+)((e|E)(\+|\-)?\d+)?)(L|l|UL|ul|u|U|F|f)?\@
boolean
\@true|false\@
macro
\@[A-Z_][A-Z_0-9]{3,500}\@
functionName
\@(\w|_)+[ \t]*\(
boolean
==|<=|>=|~=|<{1,2}|>{1,2}|&&|\{|\}