Re: Look ahead on sh.nanorc
Benno Schulenberg <[email protected]>
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <1492200616.3004099.944973696.1073D2AE@webmail.messagingengine.com> |
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
_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano