Look ahead on sh.nanorc

Jose Antonio Velasco <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <CANJSAiSrkqR3dzFnr_eAH-EdbMWJ-W-W+HvYr0btqYDr4eLa7A@mail.gmail.com>
Hi everybody,

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

Thanks in advance for your kindly help.

Best regards,

Jose

_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.