Skip to content

Commit 5eb74fb

Browse files
committed
Fix invalid escape sequence warning
1 parent 9e57ea9 commit 5eb74fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get_chapter_name_and_translation_from_git_tag():
199199
)
200200
else:
201201
# Look for the chapter name to build in the git tag
202-
tag_fragments = [x.lower() for x in re.split("[\W_]", GIT_REF)]
202+
tag_fragments = [x.lower() for x in re.split(r"[\W_]", GIT_REF)]
203203

204204
if "all" in tag_fragments:
205205
returned_chapter_name = "all"

0 commit comments

Comments
 (0)