nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] syntax highlight tweak for bash scripts


From: Benno Schulenberg
Subject: Re: [Nano-devel] syntax highlight tweak for bash scripts
Date: Sun, 04 Jun 2006 12:09:29 +0200
User-agent: KMail/1.9.1

David Lawrence Ramsey wrote:
> Benno Schulenberg wrote:
>  > One small correction is needed: the "-" should come last, to
>  > prevent it from being seen as specifying a range.  See patch.
>
> Applied.

Thanks.  Sorry to be so precise, but the changelog entry is not 
entirely correct.  The old regex colored "$-" correctly -- it 
colored all of "$! $@ $# $$ $* $_ $- $?" correctly, at least on 
Gentoo -- but then also mistakenly colored "$= $+ $/ $< $> $, $."  
On Ubuntu it produced an error instead:

  Error in /etc/nanorc on line 52: Bad regex 
  "address@hidden": Invalid range end

But only when using a utf8 locale, not with the C locale.

Attached patch suggests a different wording for the changelog entry.

Benno

Attachment: nano--sh-nanorc-changelog.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]