Numbertext / libnumbertext

Number to number name and money text conversion libraries in C++, Java, JavaScript and Python & LibreOffice Calc Extension
BSD 3-Clause "New" or "Revised" License
67 stars 46 forks source link

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

Open rickalex21 opened 4 months ago

rickalex21 commented 4 months ago

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