diff --git a/oletools/rtfobj.py b/oletools/rtfobj.py index f0b4e654..c32fbbc8 100644 --- a/oletools/rtfobj.py +++ b/oletools/rtfobj.py @@ -269,7 +269,7 @@ def get_logger(name, level=logging.CRITICAL+1): DELIMITERS_ZeroOrMore = b'[ \\t\\r\\n\\f\\v]*' BACKSLASH_BIN = b'\\\\bin' # According to my tests, Word accepts up to 250 digits (leading zeroes) -DECIMAL_GROUP = b'(\d{1,250})' +DECIMAL_GROUP = b'(\\d{1,250})' re_delims_bin_decimal = re.compile(DELIMITERS_ZeroOrMore + BACKSLASH_BIN + DECIMAL_GROUP + DELIMITER)