help-nano
[Top][All Lists]
Advanced

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

Re: [Help-nano] Look ahead on sh.nanorc


From: Jose Antonio Velasco
Subject: Re: [Help-nano] Look ahead on sh.nanorc
Date: Fri, 14 Apr 2017 16:59:11 -0400

Hi Benno,

Sad news indeed.

Thanks for your answer.

Best regards,

Jose

El 14 abr. 2017 16:10, "Benno Schulenberg" <address@hidden> escribió:

Hello José,

On Fri, Apr 14, 2017, at 00:43, Jose Antonio Velasco wrote:
> I'd like to know if there's a way I can use look ahead on a regex in
> sh.nanorc file. When I try to use
>
> color brightred "^[[:alpha:]_][[:alnum:]_]*(?==)"
>
> I get the following error
>
> Error in /usr/share/nano/sh.nanorc on line 19: Bad regex
> "^[[:alpha:]_][[:alnum:]_]*(?==)": Invalid preceding regular _expression_

I too have tried using lookahead in regexes in nano, but it seems
that the regex implementation of glibc does not provide lookahead
nor lookbehind.  :|

Benno

--
http://www.fastmail.com - Access all of your messages and folders
                          wherever you are


reply via email to

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