Author: seb
Date: 2017-08-09 11:58:18 +0000 (Wed, 09 Aug 2017)
New Revision: 54473

Modified:
   conf/cvelist.el
Log:
In emacs debian-cvelist-mode, handle up to 7 digits in CVE IDs

Modified: conf/cvelist.el
===================================================================
--- conf/cvelist.el     2017-08-09 11:16:39 UTC (rev 54472)
+++ conf/cvelist.el     2017-08-09 11:58:18 UTC (rev 54473)
@@ -26,11 +26,11 @@
    "Keymap for `debian-cvelist-mode'.")
 
 (defvar debian-cvelist-font-lock-keywords
-  '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" . font-lock-function-name-face)
+  '(("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" . font-lock-function-name-face)
     ("^\tNOTE:" . font-lock-comment-delimiter-face)
     ("^\tTODO:" . font-lock-warning-face)
     ("^\t\\(RESERVED\\|NOT-FOR-US\\|REJECTED\\)" . font-lock-keyword-face)
-    ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,5\\}" "\\[\\(.*\\)\\]$" nil nil (1 
font-lock-variable-name-face))
+    ("^CVE-[0-9]\\{4\\}-[0-9X]\\{4,7\\}" "\\[\\(.*\\)\\]$" nil nil (1 
font-lock-variable-name-face))
     ("\\<unfixed\\|undetermined\\>" . font-lock-warning-face)
     ("\\<end-of-life\\|not-affected\\|no-dsa\\>" . font-lock-constant-face))
   "Keyword highlighting for `debian-cvelist-mode'")


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits

Reply via email to