Skip to content

iptc/ip4tc.py:261: SyntaxWarning: invalid escape sequence '\s' #345

Open
@krunalkumarsolanki

Description

@krunalkumarsolanki

I encountered a SyntaxWarning when running Python 3.12 along with the iptc package. The warning message points to the file ip4tc.py, specifically at line 261:

/cclear/py/.venv/lib/python3.12/site-packages/iptc/ip4tc.py:261: SyntaxWarning: invalid escape sequence '\s'
master_celery  | 2024-05-13T18:58:19.588314006Z   '\s*(!)?\s*--([-\w]+)\s+(!)?\s*"?([^"]*?)"?(?=\s*(?:!?\s*--|$))')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions