From 6440aa9e4758ff3aea78745d882e223f977e8892 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 25 Mar 2015 13:42:40 +0000 Subject: [PATCH] Slightly widening and relaxing the header regex. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5158 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ doc/syntax/debian.nanorc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b0d3f58..e5472598 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-03-25 Benno Schulenberg + * doc/syntax/debian.nanorc: Slightly widen and relax the header regex. + 2015-03-23 Benno Schulenberg * src/text.c (do_alt_speller): Avoid the spell checker reporting an error when the marked region is zero bytes long. The message diff --git a/doc/syntax/debian.nanorc b/doc/syntax/debian.nanorc index 630b4d02..f87e2246 100644 --- a/doc/syntax/debian.nanorc +++ b/doc/syntax/debian.nanorc @@ -1,6 +1,6 @@ ## Here is an example for apt's sources.list. -syntax "apt/sources.list" "sources\.list(\.old|~)?$" "apt/sources\.list\.d/.*\.list$" +syntax "apt/sources.list" "sources\.list(~|\.old|\.save)?$" "sources\.list\.d/.*\.list(~|\.old|\.save)?$" # Coloring the deb lines, working from tail to head. First the # components -- well, everything, and thus also the components. -- 2.39.5