From 4fd13f0e6225058619776a07f3d68d41fdb863f0 Mon Sep 17 00:00:00 2001 From: Cooper <73203995+coopeeo@users.noreply.github.com> Date: Tue, 26 Mar 2024 11:07:56 -0500 Subject: [PATCH] PLEASE CHATGPT FIX MY DAMN REGEX --- .github/DOWNLOAD_FILE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/DOWNLOAD_FILE.py b/.github/DOWNLOAD_FILE.py index e0a1074..3a99a94 100644 --- a/.github/DOWNLOAD_FILE.py +++ b/.github/DOWNLOAD_FILE.py @@ -33,7 +33,7 @@ def save(clickName, folderName, ee): try: match = re.search(r'\s*?### Add Pack\s*?(\S+)\s*?', issue_body) match3 = re.search(r'\s*?### Type of Click Sound\s*?(\S+)\s*?', issue_body) - match2 = re.search(r'\s*?### Click Sound Name\s*?(\S+(?:\s+\S+)*)\s*?(?=\n.*?\n.*?\n|\z)', issue_body) + match2 = re.search(r'\s*?### Click Sound Name\s*?(\S(?:.*\S)?)\s*?(?=\n.*\n.*\n|$)', issue_body) print(match) print(match3) print(match2)