From d5463b17ca7b5b3c6ee4a42b04860f7f1d73f34f Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 30 May 2003 05:27:02 +0000 Subject: [PATCH] Fixed regexp. --- lisp/riece-highlight.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lisp/riece-highlight.el b/lisp/riece-highlight.el index 8360379..a9715ef 100644 --- a/lisp/riece-highlight.el +++ b/lisp/riece-highlight.el @@ -162,11 +162,9 @@ (defcustom riece-highlight-font-lock-keywords (append - (list - `(,(concat - "^" riece-time-prefix-regexp - "\\(<[^>]+>\\|>[^<]+<\\|-[^-]+-\\|([^)]+)\\|=[^=]+=\\)") - (1 riece-prefix-face append t))) + (list (list (concat "^" riece-time-prefix-regexp + "\\(<[^>]+>\\|>[^<]+<\\|([^)]+)\\|-[^ ]+ [^-]+-\\|=[^ ]+ [^=]+=\\|\\([+-]\\)[^ ]+\\2\\)") + '(1 riece-prefix-face append t))) ;; set property to the whole line (mapcar (lambda (line) -- 2.25.1