diff options
Diffstat (limited to 'lisp/org-src.el')
-rw-r--r-- | lisp/org-src.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el index bcc93ac..89f3238 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -765,7 +765,7 @@ white spaces. Match group 2 contains the same string without any surrounding space. Match group 3 contains the label. A coderef format regexp can only match at the end of a line." - (format "\\S-\\([ \t]*\\(%s\\)[ \t]*\\)$" + (format "\\([ \t]*\\(%s\\)[ \t]*\\)$" (replace-regexp-in-string "%s" (if label (regexp-quote label) "\\([-a-zA-Z0-9_][-a-zA-Z0-9_ ]*\\)") |