.*\.(c|cpp|cxx|cc|h|hpp|hxx|m|mm)
commentDoxygen
/\*(\*|!)(.|\r|\n)*?\*/
doxyparse
comment
/\*(.|\r|\n)*?(\*/|\0)
TODO
SYNTAX_ERROR
/\*(.|\r|\n)*
preprocesseur
#[ \t]*if 0(.|\r|\n)*?#(endif|else)
SYNTAX_ERROR
#[ \t]*if 0(.|\r|\n)*
preprocesseur
#(.|\\[\\\n])*
commentDoxygen
//!.*
doxyparse
comment
//.*
TODO
doubleQuoteText
"(.|\\[\\"])*?"
doubleQuoteText
'\\?.'
keyword
\b(return|goto|if|else|case|default|switch|break|continue|while|do|for|sizeof)\b
systemFunction
\b(new|delete|try|catch|memset|fopen|fread|fwrite|fgets|fclose|printf|(f|s|diag_)printf|calloc|malloc|realloc|(cyg|sup)_([a-z]|[A-Z]|[0-9]|_)+)\b
type
\b(bool|BOOL|char(16_t|32_t)?|double|float|u?int(8|16|32|64|128)?(_t)?|long|short|signed|size_t|unsigned|void|(I|U)(8|16|32|64|128))\b
type
\bstd::[\w:]*\b
storageKeyword
\b(inline|const|class|namespace|virtual|private|public|protected|friend|const|extern|auto|register|static|unsigned|signed|volatile|char|double|float|int|long|short|void|typedef|struct|union|enum)\b
commonDefine
\b(NULL|MAX|MIN|__LINE__|__DATA__|__FILE__|__func__|__TIME__|__STDC__)\b
number
\b(((0(x|X)[0-9a-fA-F]*)|(\d+\.?\d*|\.\d+)((e|E)(\+|\-)?\d+)?)(L|l|UL|ul|u|U|F|f)?)\b
boolean
\b(true|TRUE|false|FALSE)\b
macro
\b([A-Z_][A-Z_0-9]{3,500})\b
memberClass
\bm_\w+\b
inputFunction
\b_\w+\b
functionName
\b((\w|_)+[ \t]*\()
boolean
==|<=|>=|!=|<{1,2}|>{1,2}|&&|\{|\}
macro
([A-Z]|_){4,500}
SYNTAX_ERROR
'|"
doxygen-key
(@|\\)[\t ]*\w+
doxygen-in-out
\[(in|in,out|out)\]
inputFunction
\b_\w+\b
SYNTAX_ERROR
TODO[ \t]*:.*