Fix regex syntax warning in docs/conf.py

The \d means we should really use an r-string.  The current string
 works, but python 3.12 will give us a warning.

Change-Id: I5a0e187e6629b269654fede139dd3ae611fcbdd4
This commit is contained in:
James E. Blair 2024-08-21 16:45:14 -07:00
parent 9305c7b06c
commit 7de69a9175

View File

@ -93,7 +93,7 @@ except subprocess.CalledProcessError:
interesting_tags = []
for tag in output.splitlines():
if re.match('^\d+\.\d+\.\d+$', tag):
if re.match(r'^\d+\.\d+\.\d+$', tag):
parts = tuple(map(int, tag.split('.')))
if parts < min_version:
continue