Skip to content

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

@rickswe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions