From 921f8ae4c97ee972a6957d45f5449fa0d2da59d2 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 30 Aug 2018 19:46:34 +0200 Subject: [PATCH] syntax: default: colorize also two-digit and capitalized nano versions --- syntax/default.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/default.nanorc b/syntax/default.nanorc index 665f54e4..9b6ef258 100644 --- a/syntax/default.nanorc +++ b/syntax/default.nanorc @@ -11,7 +11,7 @@ color cyan "^[[:space:]]*#.*" color ,red " + +" # Nano's name, including version. -color brightred "(GNU )?nano [1-9]\.[0-9]\.[^[:space:][:punct:]]+" +color brightred "(GNU )?[Nn]ano [1-3]\.[0-9][-.[:alnum:]]*\>" # Email addresses. color magenta "<[[:alnum:].%_+-]+@[[:alnum:].-]+\.[[:alpha:]]{2,}>"