Skip to content

rtfobj.py syntax error#854

Merged
decalage2 merged 1 commit intodecalage2:masterfrom
xambroz:patch-1
May 28, 2024
Merged

rtfobj.py syntax error#854
decalage2 merged 1 commit intodecalage2:masterfrom
xambroz:patch-1

Conversation

@xambroz
Copy link
Copy Markdown
Contributor

@xambroz xambroz commented May 4, 2024

In python 3.12+ it is reporting the syntax error

oletools/rtfobj.py:272
/rpmbuild/BUILD/oletools-78b2d459a33df378a4f69ffc6c33313509cecfe4/oletools/rtfobj.py:272: SyntaxWarning: invalid escape sequence '\d'
DECIMAL_GROUP = b'(\d{1,250})'

In python 3.12+ it is reporting the syntax error 

oletools/rtfobj.py:272
  /rpmbuild/BUILD/oletools-78b2d459a33df378a4f69ffc6c33313509cecfe4/oletools/rtfobj.py:272: SyntaxWarning: invalid escape sequence '\d'
    DECIMAL_GROUP = b'(\d{1,250})'
@decalage2 decalage2 self-requested a review May 28, 2024 20:56
@decalage2 decalage2 self-assigned this May 28, 2024
@decalage2 decalage2 added this to the oletools 0.60 milestone May 28, 2024
Copy link
Copy Markdown
Owner

@decalage2 decalage2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@decalage2 decalage2 merged commit 2d2d5c2 into decalage2:master May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants