From 45555c1b789c547cdb5e5daf657a90b5ba431792 Mon Sep 17 00:00:00 2001 From: Roland Winkler Date: Tue, 22 Aug 2023 21:42:49 -0500 Subject: [PATCH] Fix bibtex-font-lock-url-regexp Fix bibtex-font-lock-url-regexp to allow line breaks between the field name and the field string. --- lisp/textmodes/bibtex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 394f80f47ee..32d2786b86c 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -1845,7 +1845,7 @@ Initialized by `bibtex-set-dialect'.") ;; Assume that field names begin at the beginning of a line. (concat "^[ \t]*" (regexp-opt (delete-dups (mapcar #'caar bibtex-generate-url-list)) t) - "[ \t]*=[ \t]*") + "[ \t\n]*=[ \t\n]*") "Regexp for `bibtex-font-lock-url' derived from `bibtex-generate-url-list'.") (defvar bibtex-string-empty-key nil -- 2.39.2