mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(sgml-xml-guess): Fix regexp to avoid ambiguous nested loops.
This commit is contained in:
parent
e554eeb7ee
commit
bca8616b09
@ -339,7 +339,7 @@ Otherwise, it is set to be buffer-local when the file has
|
||||
(eval-when-compile
|
||||
(mapconcat 'identity
|
||||
'("<!DOCTYPE" "\\(\\w+\\)" "\\(\\w+\\)"
|
||||
"\"\\([^\"]+\\)+\"" "\"\\([^\"]+\\)+\"")
|
||||
"\"\\([^\"]+\\)\"" "\"\\([^\"]+\\)\"")
|
||||
"\\s-+"))
|
||||
nil t)
|
||||
(let ((name (match-string 1))
|
||||
|
Loading…
Reference in New Issue
Block a user