summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 444ff57..e23182b 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -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))