This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Limited regex support in newlib cripples syntax highlighting in nano


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]