.*\.py comment """(.|\r|\n)*?""" comment '''(.|\r|\n)*?''' SYNTAX_ERROR ("""|''')(.|\n|\r)* commentDoxygen ##.* comment #.* doubleQuoteText "(.|\\[\\"])*?" doubleQuoteText '((\\[\\'])|.)*?' 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 functionName \b(\w|_)+[ \t]*\( boolean ==|<=|>=|!=|<{1,2}|>{1,2}|&&|\{|\} SYNTAX_ERROR '|"