summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-06-05 12:23:43 +0300
committerThanos Apollo <[email protected]>2024-06-05 12:23:43 +0300
commitb0a65f86b060b2e5a9e66ee830e31d1b0cec5966 (patch)
tree2fd74c9b92c974e354c428a9bf668959a1fc44d7
parent67b8da950a779474197b2c50644c53eb5522bb62 (diff)
Remove duplicate func
-rw-r--r--gnosis.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/gnosis.el b/gnosis.el
index 86fb146..821d5ab 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -929,14 +929,6 @@ Works both with {} and {{}} to make easier to import anki notes."
word string)))
string)
-(defun gnosis-cloze-remove-tags (string)
- "Remove cx-tags in STRING.
-
-Works both with {} and {{}} to make easier to import anki notes."
- (let* ((regex "{\\{1,2\\}c\\([0-9]+\\)::?\\(.*?\\)}\\{1,2\\}")
- (result (replace-regexp-in-string regex "\\2" string)))
- result))
-
(defun gnosis-cloze-extract-answers (str)
"Extract cloze answers for STR.