fix(anki): allow spaces in deck name

This commit is contained in:
arne314
2025-01-03 17:19:39 +01:00
parent 1b3aed2e15
commit 1ee5c2ae33
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ ts_flashcard_query = """
ts_deck_query = """
((comment) @deck)
"""
deck_regex = re.compile(r"\W+ANKI:\s*(\S*)")
deck_regex = re.compile(r"\W+ANKI:\s*([\S ]*)")
class FlashcardParser: