diff --git a/pyproject.toml b/pyproject.toml index 93b86ad..150a000 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "pdm.backend" [project] name = "typstar" -version = "1.1.0" +version = "1.1.1" description = "Neovim plugin for efficient note taking in Typst" authors = [ { name = "arne314" } diff --git a/src/anki/parser.py b/src/anki/parser.py index 21b0090..dd33158 100644 --- a/src/anki/parser.py +++ b/src/anki/parser.py @@ -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: