]> git.eshelyaron.com Git - emacs.git/commitdiff
(sgml-xml-guess): Fix regexp to avoid ambiguous nested loops.
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 Nov 2001 19:35:05 +0000 (19:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 Nov 2001 19:35:05 +0000 (19:35 +0000)
lisp/textmodes/sgml-mode.el

index 27ddfe6e481824947fc0a63ad92cabee5124cae0..6472cc79960e602299e8f019140841719ea7f72c 100644 (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))