|
From: | Jose Antonio Velasco |
Subject: | Re: [Help-nano] Look ahead on sh.nanorc |
Date: | Fri, 14 Apr 2017 16:59:11 -0400 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |