Bug#1076214: lightproof_impl_lightproof_en.py:{129|136}: SyntaxWarning: invalid escape sequence '\w'

Peter Müller <[email protected]>
Newsgroups gmane.linux.debian.devel.openoffice
Message-ID <b6857edd-d587-480c-957b-b3655a960c1f__34542.9474649549$1763776292$gmane$org@ro.ru>
found 1076214 0.4.3+1.6-5
severity 1076214 important
affects 1076214 libreoffice-lightproof-ru-ru
thanks


Same here. Upon opening an (here undisclosed) document with `libreoffile file.docx` from xterm, 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)

in the console.

Please fix it.

Gratefully!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.