syntax: default: colorize also two-digit and capitalized nano versions

master
Benno Schulenberg 2018-08-30 19:46:34 +02:00
parent 24487d48ff
commit 921f8ae4c9
1 changed files with 1 additions and 1 deletions

View File

@ -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,}>"