nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] more on color syntax highlighting


From: Ken Tyler
Subject: Re: [Nano-devel] more on color syntax highlighting
Date: Thu, 10 Oct 2002 20:18:57 +1000

On Tue, 8 Oct 2002, David Benbennick wrote:

> Oops, that wasn't accurate.  The expression 
> 
> > >   color green "\<float|char|int|void\>"
> 
> without parentheses means
>       'float' as the prefix of a word, or
>       'char' anywhere, or
>       'int' anywhere, or
>       'void' as the suffix of a word.
> The parentheses serve to group the keywords together.

Hello,

hmmm, <float above matches any word begining with float. man 7 regex talks
about [[:<:]] and [[:>:]] matching the null string at the begining
(ending) of a word which is getting close to what your description says.

What is the reference for the regular expressions used in nano ?

Ken. 

  
 





reply via email to

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