Re: Look ahead on sh.nanorc
Jose Antonio Velasco <[email protected]>
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <CANJSAiRc1RXxEbX=SgO6z2gx3KtSV-+GWMhLK1HnXXj5xk1aAg@mail.gmail.com> |
Hi Benno, Sad news indeed. Thanks for your answer. Best regards, Jose El 14 abr. 2017 16:10, "Benno Schulenberg" <[email protected]> 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 > > _______________________________________________ Help-nano mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-nano