From 1c973afb002650b9bbee8a831b756bef848915a1 Mon Sep 17 00:00:00 2001 From: Fahad Date: Wed, 20 Aug 2025 16:28:43 +0400 Subject: [PATCH] fix: escape backslashes in TOML regex pattern Fixed TOML decode error in pyproject.toml version_pattern field --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d8b6883..18cb71a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ ignore = [ version_toml = ["pyproject.toml:project.version"] branch = "main" version_source = "tag" -version_pattern = "v(?P\d+)\.(?P\d+)\.(?P\d+)" +version_pattern = "v(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" major_on_zero = false build_command = "python -m pip install --upgrade build && python -m build" dist_path = "dist/"