summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2025-02-11 00:58:52 -0300
committerSoniEx2 <endermoneymod@gmail.com>2025-02-11 00:58:52 -0300
commite9bb80c5cc29e728fa4270e48032e4f50d5dd772 (patch)
treee1ed34d5fbb943b8b50ec924eeae12e7aefe45d3
parent7df4ee7625cfe161c0233c9a0938d4a2d35a9038 (diff)
Fix incorrect escape
-rw-r--r--ganarchy/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ganarchy/core.py b/ganarchy/core.py
index 62e9976..6503b8c 100644
--- a/ganarchy/core.py
+++ b/ganarchy/core.py
@@ -192,7 +192,7 @@ class Project:
         """
         try:
             project = work_repo.get_commit_message(self.commit)
-            project_title, project_desc = (lambda x: x.groups() if x is not None else ('', None))(re.fullmatch('^\\[Project\\]\s+(.+?)(?:\n\n(.+))?$', project, flags=re.ASCII|re.DOTALL|re.IGNORECASE))
+            project_title, project_desc = (lambda x: x.groups() if x is not None else ('', None))(re.fullmatch('^\\[Project\\]\\s+(.+?)(?:\n\n(.+))?$', project, flags=re.ASCII|re.DOTALL|re.IGNORECASE))
             if not project_title.strip(): # FIXME
                 project_title, project_desc = ("Error parsing project commit",)*2
             # if project_desc: # FIXME