[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master eccdb1b: fix(rainbow_mode): remove spurious + in regex
From: |
Julien Danjou |
Subject: |
[elpa] master eccdb1b: fix(rainbow_mode): remove spurious + in regex |
Date: |
Tue, 28 Jul 2020 05:48:31 -0400 (EDT) |
branch: master
commit eccdb1b4b8cf3c61d3f5889140b058da6a949288
Author: Julien Danjou <julien@danjou.info>
Commit: Julien Danjou <julien@danjou.info>
fix(rainbow_mode): remove spurious + in regex
Thanks Peder Stray for the report and suggestion.
---
packages/rainbow-mode/rainbow-mode.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/rainbow-mode/rainbow-mode.el
b/packages/rainbow-mode/rainbow-mode.el
index 396eaae..e6bf1bd 100644
--- a/packages/rainbow-mode/rainbow-mode.el
+++ b/packages/rainbow-mode/rainbow-mode.el
@@ -1,10 +1,10 @@
;;; rainbow-mode.el --- Colorize color names in buffers
-;; Copyright (C) 2010-2019 Free Software Foundation, Inc
+;; Copyright (C) 2010-2020 Free Software Foundation, Inc
;; Author: Julien Danjou <julien@danjou.info>
;; Keywords: faces
-;; Version: 1.0.4
+;; Version: 1.0.5
;; This file is part of GNU Emacs.
@@ -45,9 +45,9 @@
;;; Hexadecimal colors
(defvar rainbow-hexadecimal-colors-font-lock-keywords
- '(("[^&]\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)+\\{1,4\\}\\)"
+ '(("[^&]\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)\\{1,4\\}\\)"
(1 (rainbow-colorize-itself 1)))
- ("^\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)+\\{1,4\\}\\)"
+ ("^\\(#\\(?:[0-9a-fA-F]\\{3\\}\\)\\{1,4\\}\\)"
(0 (rainbow-colorize-itself)))
("[Rr][Gg][Bb]:[0-9a-fA-F]\\{1,4\\}/[0-9a-fA-F]\\{1,4\\}/[0-9a-fA-F]\\{1,4\\}"
(0 (rainbow-colorize-itself)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master eccdb1b: fix(rainbow_mode): remove spurious + in regex,
Julien Danjou <=