From: Daiki Ueno Date: Fri, 30 May 2003 05:27:02 +0000 (+0000) Subject: Fixed regexp. X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=commitdiff_plain;h=d5463b17ca7b5b3c6ee4a42b04860f7f1d73f34f Fixed regexp. --- 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)