Added another group regex

This commit is contained in:
2026-03-20 13:21:07 -04:00
parent 02741c1e77
commit 74753d94be
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ from watfag.parsers.generic.parsers import DataParser
patterns = [
re.compile(r"(?:-| - )(?P<group>[a-zA-Z0-9 &]*)\)?$", re.UNICODE),
re.compile(r"\[(?P<group>[a-zA-Z0-9 &]*)\]?$", re.UNICODE),
re.compile(r"(?: )\[?(?P<group>[a-zA-Z0-9]*?)]?\)?$", re.UNICODE)
]