[Top][All Lists]

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

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

From: David Benbennick
Subject: Re: [Nano-devel] more on color syntax highlighting
Date: Thu, 10 Oct 2002 08:37:18 -0400
User-agent: Mutt/

On Thu, Oct 10, 2002 at 08:18:57PM +1000, Ken Tyler wrote:
> 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 ?

Nano uses regcomp() and regexec() internally.  man 7 regex is supposed to
be the reference for the regular expression syntax.  Yeah, \< and \> don't
appear there, but they seem to do the job.  When I use [[:<:]] regcomp()
returns an error, "Invalid character class name".

Attachment: pgpbjQRoKcO_z.pgp
Description: PGP signature

reply via email to

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