1
0
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:
Richard M. Stallman 2001-11-01 19:35:05 +00:00
parent e554eeb7ee
commit bca8616b09

View File

@ -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))