We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d0b39d commit 040e613Copy full SHA for 040e613
1 file changed
src/note.ts
@@ -13,7 +13,7 @@ export const TAG_SEP:string = " "
13
export const ID_REGEXP_STR: string = String.raw`\n?(?:<!--)?(?:ID: (\d+).*)`
14
export const TAG_REGEXP_STR: string = String.raw`(Tags: .*)`
15
16
-const ANKI_CLOZE_REGEXP: RegExp = /{{c\d+::[\s\S]+?}}/g
+const ANKI_CLOZE_REGEXP: RegExp = /{{c\d+::[\s\S]+?}}/
17
export const CLOZE_ERROR: number = 42
18
19
function has_clozes(text: string): boolean {
0 commit comments