mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 13:34:24 -05:00
fix(anki): allow spaces in deck name
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user