diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-24 01:18:42 -0200 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-01-24 01:18:42 -0200 |
commit | 5a4c4dba75ad605110a4415478072cdb4a907b20 (patch) | |
tree | 1055b1eaa28954efe6107e549c7f7f9c1d03911e /sx-question-print.el | |
parent | d0a09664737d82985c0db040afeb89f69c5b61b3 (diff) |
With nested links, just do the inner one.
Diffstat (limited to 'sx-question-print.el')
-rw-r--r-- | sx-question-print.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index 963bfb4..e76e006 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -331,7 +331,7 @@ E.g.: (defconst sx-question-mode--link-regexp ;; Done at compile time. (rx (or (and "[tag:" (group-n 5 (+ (not (any " ]")))) "]") - (and (opt "!") "[" (group-n 1 (1+ (not (any "]")))) "]" + (and (opt "!") "[" (group-n 1 (1+ (not (any "[]")))) "]" (or (and "(" (group-n 2 (1+ (not (any ")")))) ")") (and "[" (group-n 3 (1+ (not (any "]")))) "]"))) (group-n 4 (and (and "http" (opt "s") "://") "" |