Skip to content

Commit

Permalink
Merge pull request #854 from xambroz/patch-1
Browse files Browse the repository at this point in the history
rtfobj.py syntax error
  • Loading branch information
decalage2 authored May 28, 2024
2 parents edc004f + 8304616 commit 2d2d5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oletools/rtfobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2d2d5c2

Please sign in to comment.