binaryninja.re.error

exception error(msg, pattern=None, pos=None)

Exception raised for invalid regular expressions.

Attributes:

msg: The unformatted error message pattern: The regular expression pattern pos: The index in the pattern where compilation failed (may be None) lineno: The line corresponding to pos (may be None) colno: The column corresponding to pos (may be None)