SAE Teensy ECU
IIT SAE Microcontroller programming
|
Regex definitions for logging. More...
Variables | |
str | STATE_PASS = r"\" *(\S+.*?) +(?i:state)\s*\"" |
tuple | SPECIAL_PASS |
str | SPECIAL_FAIL = r"_LogPrebuildString\s*\(\s*([^\"]*?)\s*\)" |
str | TAG_PASS = r"LOG_TAG(?= )\s*[^\"=]+?=\s*(\"\s*\S.*\")\s*;" |
str | TAG_FAIL = r"(?:LOG_TAG(?= )\s*[^\"=]+?=\s*)(?:[^\"=]+?|\"\s*\")\s*;" |
str | CALL_SS = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*(\"\s*\S(?:\\.|[^\"])+\")\s*,\s*(\"(\\.|[^\"])*\")\s*\)\s*;)" |
str | CALL_VS = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*([^\"]+?)\s*,\s*(\"(?:\\.|[^\"])*\")\s*\)\s*;)" |
tuple | CALL_SSV |
str | CALL_VSV = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*([^\"]+?)\s*,\s*(\".*?\")\s*,\s*(.+?)\s*\)\s*;)" |
str | CALL_ERR_LITERAL = r"(?:(Log\s*\.*\s*(?:[diwefp])?\s*\(\s*(?:[^\"]+?|\"(?:[^\"]|\\\")*?\")\s*,\s*)([^\";]+?)(\s*(?:,\s*(?:.+?))?\s*\)\s*;))" |
str | CALL_ERR_BLANK = r"(?:(Log\s*\.*\s*(?:[diwefp])?\s*\(\s*)(\"\s*\")(\s*,.*?\)\s*;))" |
Regex definitions for logging.
str script.regex.CALL_ERR_BLANK = r"(?:(Log\s*\.*\s*(?:[diwefp])?\s*\(\s*)(\"\s*\")(\s*,.*?\)\s*;))" |
str script.regex.CALL_ERR_LITERAL = r"(?:(Log\s*\.*\s*(?:[diwefp])?\s*\(\s*(?:[^\"]+?|\"(?:[^\"]|\\\")*?\")\s*,\s*)([^\";]+?)(\s*(?:,\s*(?:.+?))?\s*\)\s*;))" |
str script.regex.CALL_SS = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*(\"\s*\S(?:\\.|[^\"])+\")\s*,\s*(\"(\\.|[^\"])*\")\s*\)\s*;)" |
tuple script.regex.CALL_SSV |
str script.regex.CALL_VS = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*([^\"]+?)\s*,\s*(\"(?:\\.|[^\"])*\")\s*\)\s*;)" |
str script.regex.CALL_VSV = r"(?:Log\s*\.*\s*([diwefp])?\s*\(\s*([^\"]+?)\s*,\s*(\".*?\")\s*,\s*(.+?)\s*\)\s*;)" |
str script.regex.SPECIAL_FAIL = r"_LogPrebuildString\s*\(\s*([^\"]*?)\s*\)" |
tuple script.regex.SPECIAL_PASS |
str script.regex.STATE_PASS = r"\" *(\S+.*?) +(?i:state)\s*\"" |
str script.regex.TAG_FAIL = r"(?:LOG_TAG(?= )\s*[^\"=]+?=\s*)(?:[^\"=]+?|\"\s*\")\s*;" |