branch: elpa/adoc-mode commit d98541046a1747457dd5fc5e7c0eeffcf930d54a Author: Florian Kaufmann <sensor...@gmail.com> Commit: Florian Kaufmann <sensor...@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)