latexrun icon indicating copy to clipboard operation
latexrun copied to clipboard

Fix invalid escape sequences in Regexes causing SyntaxWarnings in Python >=3.12

Open Ferdi265 opened this issue 1 year ago • 1 comments

This fixes issue #75 by correctly using raw strings (r'') for these regexes.

Ferdi265 avatar Apr 28 '24 21:04 Ferdi265

Hello @aclements do you mind merging this? It is becoming an annoyance because distributions have switched to python >=3.12 which emits a syntax warning for this. (python 3.15 even says "Such sequences will not work in the future.", which I read as a deprecation warning)

lucc avatar Nov 27 '25 22:11 lucc