Skip to content

Python regex warning in Libreoffice extension SyntaxWarning: invalid escape  #125

Description

@rickswe

Hello,

This extension is bundled with libreoffice, I am getting this warning.

I understand that updating the extension resolves this issue but I wanted to let you know
that libreoffice is not updating it so you will continue to get concerns from other users.

/usr/lib/libreoffice/share/extensions/numbertext/pythonpath/org/Numbertext/Soros.py:37: SyntaxWarning: invalid escape sequence '\s'
  m = re.match("^\s*(\"[^\"]*\"|[^\s]*)\s*(.*[^\s])?\s*$", s)

Thank you

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions