Author: Andreas Tille <tille@debian.org>
Last-Update: 2026-03-16
Bug-Debian: https://bugs.debian.org/1076214
            https://bugs.debian.org/1121160
Description: Fix string syntax for Python3.13

--- a/pythonpath/lightproof_impl___implname__.py
+++ b/pythonpath/lightproof_impl___implname__.py
@@ -126,14 +126,14 @@ def suggest(rLoc, word):
 
 # get the nth word of the input string or None
 def word(s, n):
-    a = re.match("(?u)( [-.\w%%]+){" + str(n-1) + "}( [-.\w%%]+)", s)
+    a = re.match(r"(?u)( [-.\w%%]+){" + str(n-1) + r"}( [-.\w%%]+)", s)
     if not a:
         return ''
     return a.group(2)[1:]
 
 # get the (-)nth word of the input string or None
 def wordmin(s, n):
-    a = re.search("(?u)([-.\w%%]+ )([-.\w%%]+ ){" + str(n-1) + "}$", s)
+    a = re.search(r"(?u)([-.\w%%]+ )([-.\w%%]+ ){" + str(n-1) + "}$", s)
     if not a:
         return ''
     return a.group(1)[:-1]
