Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1271111

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

From Peter Müller <PeterMueller@ro.ru>
Newsgroups linux.debian.bugs.dist
Subject Bug#1076214: lightproof_impl_lightproof_en.py:{129|136}: SyntaxWarning: invalid escape sequence '\w'
Date 2025-11-22 03:00 +0100
Message-ID <LTL4R-eLfo-1@gated-at.bofh.it> (permalink)
References <IZrD4-1CH8-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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!

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1076214: lightproof_impl_lightproof_en.py:{129|136}: SyntaxWarning: invalid escape sequence '\w' Peter Müller <PeterMueller@ro.ru> - 2025-11-22 03:00 +0100

csiph-web