changeset 69265:268da31ddfc5

(reg-generic-mode): Quote "]"s in regexps when they have no special meaning.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 03 Mar 2006 12:18:47 +0000
parents 322d4f69063b
children a080fc579e98
files lisp/generic-x.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/generic-x.el	Fri Mar 03 12:18:17 2006 +0000
+++ b/lisp/generic-x.el	Fri Mar 03 12:18:47 2006 +0000
@@ -433,7 +433,7 @@
 (define-generic-mode reg-generic-mode
   '(?\;)
   '("key" "classes_root" "REGEDIT" "REGEDIT4")
-  '(("\\(\\[.*]\\)"          1 font-lock-constant-face)
+  '(("\\(\\[.*\\]\\)"        1 font-lock-constant-face)
     ("^\\([^\n\r]*\\)\\s-*=" 1 font-lock-variable-name-face))
   '("\\.[rR][eE][gG]\\'")
   (list