diff options
author | Thanos Apollo <[email protected]> | 2024-09-08 15:52:22 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-09-08 15:52:22 +0300 |
commit | f3d8505c34feb8c61720db87b028f4328e85d05e (patch) | |
tree | ac1f3dbb4396c559b1576236fe7af18505875beb /gnosis.el | |
parent | 40f63788afdb74fa71177abd882e852177829881 (diff) |
[fix] cloze-remove-tags: Update regex for extra colons.
* Ignore colons after the initial colon specifying tag.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1166,7 +1166,7 @@ TYPE: Type of gnosis note, must be one of `gnosis-note-types'" Works with both single (:), double colons (::), single braces ({}) and double braces ({{}})." - (let* ((regex "{\\{1,2\\}c[0-9]+:\\{1,2\\}\\([^:}]*\\).*?\\(}\\|::}\\)\\{1,2\\}") + (let* ((regex "{\\{1,2\\}c[0-9]+:\\{1,2\\}\\([^{}]*?\\)}\\{1,2\\}") (result (replace-regexp-in-string regex "\\1" string))) result)) |