Limited regex support in newlib cripples syntax highlighting in nano
Lapo Luchini
lapo@lapo.it
Fri Aug 29 09:12:00 GMT 2008
Corinna Vinschen wrote:
> On Aug 1 10:03, Tomi Belan wrote:
>> Cygwin regex.h implementation doesn't support some special sequences,
>> for example \< (beginning of word), \> (end of word) and \b (word
>> boundary).
>
> What you're looking for are perl regular expressions and they are
> only available if nano is built against the perl regex library which
> apparently it isn't.
There isn't any configure option to use pcre from nano, and including
pcreposix.h instead of regex.h strangely produces compilation errors.
I'll take a deeper look and produce a nano-2.0.8 package ASAP.
Lapo
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list