branch: elpa/adoc-mode
commit 61974788b4361853e4c14bb929d4ca9963f5a9da
Author: sensorflo <sensor...@gmail.com>
Commit: sensorflo <sensor...@gmail.com>

    small reformatting
---
 adoc-mode.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/adoc-mode.el b/adoc-mode.el
index 7e895caf02..863cc2d883 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -990,8 +990,12 @@ Subgroups:
 1 cmd name
 2 target
 3 attribute list, exclusive brackets []"
-  (concat "^\\(" (or cmd-name "[a-zA-Z0-9_]+") "\\)::\\([^ 
\t\n]*?\\)\\[\\(.*?\\)\\][ \t]*$"))
-
+  (concat
+   "^\\(" (or cmd-name "[a-zA-Z0-9_]+") "\\)::"
+   "\\([^ \t\n]*?\\)"
+   "\\["
+   "\\(.*?\\)"
+   "\\][ \t]*$"))
 
 ;; ?P<id>[\w\-_]+
 (defun adoc-re-id ()

Reply via email to