Limited regex support in newlib cripples syntax highlighting in nano

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 7 14:15:00 GMT 2008


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).

Cygwin's regex implements POSIX regular expressions as described in,
for instance,
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html

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.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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