From: ueno Date: Fri, 30 May 2003 05:27:02 +0000 (+0000) Subject: Fixed regexp. X-Git-Tag: riece-0_0_2~6 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=436d95d562ebdec4457a5c458b5bc6c757973d8b;p=elisp%2Friece.git 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)