From c43c0487836c8738ce6f95d6c4b671896786051f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 8 Nov 2015 19:44:57 +0000 Subject: [PATCH] Accepting longer bug and patch numbers. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5397 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + doc/syntax/changelog.nanorc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2caf3e4..9e46b63d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2015-11-08 Benno Schulenberg * src/global.c (shortcut_init): Allow exiting from the file browser with the same key (^T) as it was entered (as ^G for the help viewer). + * doc/syntax/changelog.nanorc: Accept longer bug and patch numbers. 2015-11-07 Benno Schulenberg * src/search.c (do_replace_loop): Correct the logic for adjusting the diff --git a/doc/syntax/changelog.nanorc b/doc/syntax/changelog.nanorc index 904a8c15..2b130d12 100644 --- a/doc/syntax/changelog.nanorc +++ b/doc/syntax/changelog.nanorc @@ -12,7 +12,7 @@ color yellow "<[^>]*@[^>]*>" # Command-line options. color cyan "[[:space:]]-[a-zA-Z\$]" "--[8a-z-]+" # Bug and patch numbers. -color cyan "bug #[0-9]{5,6}" "patch #[0-9]{4,5}" +color cyan "bug #[0-9]{5,9}" "patch #[0-9]{4,9}" # Probable constants, for variety. color brightred "\<[A-Z_][0-9A-Z_]+\>" # Key sequences. -- 2.39.5