Explorar o código

Fix regexp in export engine

Carsten Dominik %!s(int64=14) %!d(string=hai) anos
pai
achega
08755d7aa9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-exp.el

+ 1 - 1
lisp/org-exp.el

@@ -1860,7 +1860,7 @@ Also, store forcedalignment information found in such lines."
     (goto-char (point-min))
     (goto-char (point-min))
     (while (re-search-forward re-plain-link nil t)
     (while (re-search-forward re-plain-link nil t)
       (unless (org-string-match-p
       (unless (org-string-match-p
-	       "\\[\\[\\S+:\\S-*?\\<"
+	       "\\[\\[\\S-+:\\S-*?\\<"
 	       (buffer-substring (point-at-bol) (match-beginning 0)))
 	       (buffer-substring (point-at-bol) (match-beginning 0)))
 	(goto-char (1- (match-end 0)))
 	(goto-char (1- (match-end 0)))
 	(org-if-unprotected-at (1+ (match-beginning 0))
 	(org-if-unprotected-at (1+ (match-beginning 0))