Commit 2d2d5c2c9356846f2e3dbef05f7cda015005cd80

Authored by Philippe Lagadec
Committed by GitHub
2 parents edc004f2 83046164

Merge pull request #854 from xambroz/patch-1

rtfobj.py syntax error
Showing 1 changed file with 1 additions and 1 deletions
oletools/rtfobj.py
... ... @@ -269,7 +269,7 @@ DELIMITER = b'[ \\t\\r\\n\\f\\v]'
269 269 DELIMITERS_ZeroOrMore = b'[ \\t\\r\\n\\f\\v]*'
270 270 BACKSLASH_BIN = b'\\\\bin'
271 271 # According to my tests, Word accepts up to 250 digits (leading zeroes)
272   -DECIMAL_GROUP = b'(\d{1,250})'
  272 +DECIMAL_GROUP = b'(\\d{1,250})'
273 273  
274 274 re_delims_bin_decimal = re.compile(DELIMITERS_ZeroOrMore + BACKSLASH_BIN
275 275 + DECIMAL_GROUP + DELIMITER)
... ...