Python 3.12 is now more pedantic about the used string regexp syntax in re.* functions. Signed-off-by: Carsten Schoenert <[email protected]> Signed-off-by: Adrien Ricciardi <[email protected]> [Adrien Ricciardi: This patch comes from Debian: https://sources.debian.org/src/kicad/9.0.3+dfsg-1/debian/patches/fixes/python-Use-raw-strings-expressions.patch]