diff --git a/manifest.json b/manifest.json index 1fa5eeb..8b378da 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "flashcards-obsidian", "name": "Flashcards", - "version": "0.4.2", + "version": "0.4.3", "minAppVersion": "0.9.17", "description": "Anki integration", "author": "Alex Colucci", diff --git a/src/regex.ts b/src/regex.ts index b99a2dd..a8e7171 100644 --- a/src/regex.ts +++ b/src/regex.ts @@ -30,7 +30,7 @@ export class Regex { this.flashscardsWithTag = new RegExp(str, "gim") // https://regex101.com/r/DEVfyh/2 - str = "( {0,3}[#]{0,6})?(?:(?:[\\t ]*)(?:\\d.|[-+*]|#{1,6}))?(.+) ?:{2} ?(.+?)((?: *#[\\w-]+)+|$)(?:\\n\^(\\d{13}))?" + str = "( {0,3}[#]{0,6})?(?:(?:[\\t ]*)(?:\\d.|[-+*]|#{1,6}))?(.+) ?:{2} ?(.+?)((?: *#[\\w-]+)+|$)(?:\\n\\^(\\d{13}))?" this.cardsInlineStyle = new RegExp(str, "gim") } }