Skip to content

Fix invalid escape string in regex

Kir requested to merge fix-invalid-regex into maint-3.10

Before Python version 3.8, an invalid escape sequence was silently ignored. Python versions 3.8 and later issue a warning for an invalid escape sequence, which was how this was discovered. This fixes the regex by making it a raw string.

Signed-off-by: Ed Beroset beroset@ieee.org

Merge request reports