delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/07/09:45:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 7 Aug 2008 15:45:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Limited regex support in newlib cripples syntax highlighting in nano
Message-ID: <20080807134511.GE3806@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <31c5d6500808010103r1a0c3823p70351cc15fbf1f23 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <31c5d6500808010103r1a0c3823p70351cc15fbf1f23@mail.gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019