mirror of
https://github.com/gosticks/flashcards-obsidian.git
synced 2025-10-16 12:05:33 +00:00
Fix bug with update of inline cards
This commit is contained in:
parent
91240cc387
commit
72d48bf17d
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "flashcards-obsidian",
|
"id": "flashcards-obsidian",
|
||||||
"name": "Flashcards",
|
"name": "Flashcards",
|
||||||
"version": "0.4.2",
|
"version": "0.4.3",
|
||||||
"minAppVersion": "0.9.17",
|
"minAppVersion": "0.9.17",
|
||||||
"description": "Anki integration",
|
"description": "Anki integration",
|
||||||
"author": "Alex Colucci",
|
"author": "Alex Colucci",
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export class Regex {
|
|||||||
this.flashscardsWithTag = new RegExp(str, "gim")
|
this.flashscardsWithTag = new RegExp(str, "gim")
|
||||||
|
|
||||||
// https://regex101.com/r/DEVfyh/2
|
// 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")
|
this.cardsInlineStyle = new RegExp(str, "gim")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user