changeset 40624:eae4ef246746

(sgml-xml-guess): Fix regexp to avoid ambiguous nested loops.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 Nov 2001 19:35:05 +0000
parents c9d3bb2a90e4
children 1248b61b7baf
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Thu Nov 01 19:33:52 2001 +0000
+++ b/lisp/textmodes/sgml-mode.el	Thu Nov 01 19:35:05 2001 +0000
@@ -339,7 +339,7 @@
             (eval-when-compile
              (mapconcat 'identity
                         '("<!DOCTYPE" "\\(\\w+\\)" "\\(\\w+\\)"
-                          "\"\\([^\"]+\\)+\"" "\"\\([^\"]+\\)+\"")
+                          "\"\\([^\"]+\\)\"" "\"\\([^\"]+\\)\"")
                         "\\s-+"))
             nil t)
            (let ((name (match-string 1))