emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/adoc-mode d98541046a 087/199: bugfix: fixed regex in adoc-


From: ELPA Syncer
Subject: [nongnu] elpa/adoc-mode d98541046a 087/199: bugfix: fixed regex in adoc-re-anchor
Date: Sun, 3 Sep 2023 06:59:36 -0400 (EDT)

branch: elpa/adoc-mode
commit d98541046a1747457dd5fc5e7c0eeffcf930d54a
Author: Florian Kaufmann <sensorflo@gmail.com>
Commit: Florian Kaufmann <sensorflo@gmail.com>

    bugfix: fixed regex in adoc-re-anchor
---
 adoc-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index 85989a5db8..dec1eeae95 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -980,7 +980,7 @@ this id. If ID is nil, the regexp matches any anchor."
     ;; ^\[\[(?P<id>[\w\-_]+)(,(?P<reftext>.*?))?\]\]$
     (concat "^\\[\\["
            "\\(" (if id (regexp-quote id) (adoc-re-id)) "\\)"
-           "\\(?:,?\\(.*?\\)\\)?"
+           "\\(?:,\\(.*?\\)\\)?"
            "\\]\\][ \t]*$"))
 
    ((eq type 'inline-special)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]