Bug#1121160: lightproof_impl_lightproof_ru_RU.py:{129|136}: SyntaxWarning: invalid escape sequence '\w'
Peter Müller <[email protected]>
| Newsgroups | gmane.linux.debian.devel.openoffice |
|---|---|
| Message-ID | <d3d49d18-dd38-488d-981d-1403dbac9155__30191.5013160155$1763776410$gmane$org@ro.ru> |
Package: libreoffice-lightproof-ru-ru
Version: 0.3.4+1.6-5
Control: affects -1 libreoffice-lightproof-en
Upon opening a certain document in an xterm via `libreoffice file.docx`, I get
/usr/lib/libreoffice/share/extensions/lightproof_ru_RU/pythonpath/lightproof_impl_lightproof_ru_RU.py:129: SyntaxWarning: invalid escape sequence '\w'
a = re.match("(?u)( [-.\w%%]+){" + str(n-1) + "}( [-.\w%%]+)", s)
/usr/lib/libreoffice/share/extensions/lightproof_ru_RU/pythonpath/lightproof_impl_lightproof_ru_RU.py:129: SyntaxWarning: invalid escape sequence '\w'
a = re.match("(?u)( [-.\w%%]+){" + str(n-1) + "}( [-.\w%%]+)", s)
/usr/lib/libreoffice/share/extensions/lightproof_ru_RU/pythonpath/lightproof_impl_lightproof_ru_RU.py:136: SyntaxWarning: invalid escape sequence '\w'
a = re.search("(?u)([-.\w%%]+ )([-.\w%%]+ ){" + str(n-1) + "}$", s)
/usr/lib/libreoffice/share/extensions/lightproof_en/pythonpath/lightproof_impl_lightproof_en.py:129: SyntaxWarning: invalid escape sequence '\w'
a = re.match("(?u)( [-.\w%%]+){" + str(n-1) + "}( [-.\w%%]+)", s)
/usr/lib/libreoffice/share/extensions/lightproof_en/pythonpath/lightproof_impl_lightproof_en.py:129: SyntaxWarning: invalid escape sequence '\w'
a = re.match("(?u)( [-.\w%%]+){" + str(n-1) + "}( [-.\w%%]+)", s)
/usr/lib/libreoffice/share/extensions/lightproof_en/pythonpath/lightproof_impl_lightproof_en.py:136: SyntaxWarning: invalid escape sequence '\w'
a = re.search("(?u)([-.\w%%]+ )([-.\w%%]+ ){" + str(n-1) + "}$", s)
on the console.
Please fix it.
Gratefully!