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


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

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

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

Show all headers | View raw


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!

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


Thread

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

csiph-web