From 17e76ab6f0f2f3ffdf0c2c2a09f37378de69e740 Mon Sep 17 00:00:00 2001 From: Alex Marchant Date: Wed, 3 Apr 2024 14:49:39 -0400 Subject: [PATCH] Update comments file regex --- libmat2/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmat2/office.py b/libmat2/office.py index 74cc76a..6f69e4a 100644 --- a/libmat2/office.py +++ b/libmat2/office.py @@ -147,7 +147,7 @@ class MSOfficeParser(ZipParser): # Additional presentation-wide properties like printing properties, # presentation show properties etc. r'^(?:word|ppt|xl)/presProps\.xml$', - r'^(?:word|ppt|xl)/comments[0-9]+\.xml$', + r'^(?:word|ppt|xl)/comments[0-9]*\.xml$', r'^(?:word|ppt|xl)/threadedComments/threadedComment[0-9]*\.xml$', r'^(?:word|ppt|xl)/commentsExtended\.xml$', r'^(?:word|ppt|xl)/commentsExtensible\.xml$',