From 5eb74fbdb36df4dcd21c7c953b811b8a601ec806 Mon Sep 17 00:00:00 2001 From: drojf <1249449+drojf@users.noreply.github.com> Date: Thu, 25 Jan 2024 22:26:47 +1100 Subject: [PATCH] Fix invalid escape sequence warning --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index b6090bd..9c1ccf4 100644 --- a/build.py +++ b/build.py @@ -199,7 +199,7 @@ def get_chapter_name_and_translation_from_git_tag(): ) else: # Look for the chapter name to build in the git tag - tag_fragments = [x.lower() for x in re.split("[\W_]", GIT_REF)] + tag_fragments = [x.lower() for x in re.split(r"[\W_]", GIT_REF)] if "all" in tag_fragments: returned_chapter_name = "all"