.*\.(py|PY)
comment
"""
"""
comment
'''
'''
SYNTAX_ERROR
("""|''')
commentDoxygen
##.*
doxyparse
comment
#.*
TODO
doubleQuoteText
"(.|\\[\\"])*?"
doubleQuoteText
'((\\[\\'])|.)*?'
normal
self\.\w*
parameter_internal
functionNamePrivate
\b_(\w|_)+[ \t]*\(
checkCamelCaseError
functionName
\b(\w|_)+[ \t]*\(
checkCamelCaseError
inputFunction
\b_(\w|_)+\b
checkCamelCaseError
keyword
\b(if|else|elif|break|pass|continue|while|do|for|in|return)\b
systemFunction
\b(print|len|range|del|__init__|self|os\.|sys\.|path\.)\b
type
\b(bool|BOOL|char|double|float)\b
storageKeyword
\b(def|class|import|from|as|try|except)\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|False)\b
macro
\b([A-Z_][A-Z_0-9]{3,500})\b
boolean
==|<=|>=|!=|<{1,2}|>{1,2}|&&|\{|\}
SYNTAX_ERROR
'|"
doxygen-key-known
(@|\\)[\t ]*(addindex|addtogroup|anchor|arg|attention|author|authors|a|brief|bug|b|callgraph|category|cite|class|code|cond|copybrief|copydetails|copydoc|copyright|date|def|defgroup|deprecated|details|diafile|dir|docbookonly|dontinclude|dot|dotfile|else|elseif|em|endcode|endcond|enddocbookonly|enddot|endhtmlonly|endif|endinternal|endlatexonly|endlink|endmanonly|endmsc|endparblock|endrtfonly|endsecreflist|endverbatim|enduml|endxmlonly|enum|example|exception|extends|e|file|fn|headerfile|hidecallergraph|hidecallgraph|hideinitializer|htmlinclude|htmlonly|idlexcept|ifnot|if|image|implements|includelineno|include|ingroup|internal|invariant|interface|latexinclude|latexonly|line|link|license|li|mainpage|manonly|memberof|msc|mscfile|name|namespace|nosubgrouping|note|n|overload|package|page|paragraph|param|parblock|par|post|pre|private|privatesection|property|protected|protectedsection|protocol|public|publicsection|pure|p|refitem|ref|related|relates|relatedalso|relatesalso|remark|remarks|result|return|returns|retval|rtfonly|sa|secreflist|section|see|short|showinitializer|since|skip|skipline|snippet|startuml|struct|subpage|subsection|subsubsection|tableofcontents|test|throw|throws|todo|tparam|typedef|union|until|var|verbatim|verbinclude|version|vhdlflow|warning|weakgroup|xmlonly|xrefitem)
doxygen-key
(@|\\)[\t ]*\w+
doxygen-in-out
\[(in|in,out|out)\]
inputFunction
\b_\w+\b
SYNTAX_ERROR
TODO[ \t]*:.*
systemFunction
self
memberClassPrivate
_[a-z0-9_]+
memberClass
[a-z0-9_]+
SYNTAX_ERROR
_\w+
SYNTAX_ERROR
\w+
SYNTAX_ERROR
[A-Z]