Skip to content

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

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*--|$))')

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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