(reg-generic-mode): Quote "]"s in regexps when they have no special meaning.
This commit is contained in:
parent
b50f58d55f
commit
ddb72af931
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ like an INI file. You can add this hook to `find-file-hook'."
|
|||
(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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue