delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Lapo Luchini <lapo AT lapo DOT it> |
Subject: | Re: Limited regex support in newlib cripples syntax highlighting in nano |
Date: | Thu, 28 Aug 2008 23:00:16 +0200 |
Lines: | 16 |
Message-ID: | <g973l3$l6k$1@ger.gmane.org> |
References: | <31c5d6500808010103r1a0c3823p70351cc15fbf1f23 AT mail DOT gmail DOT com> <20080807134511 DOT GE3806 AT calimero DOT vinschen DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.0 |
In-Reply-To: | <20080807134511.GE3806@calimero.vinschen.de> |
OpenPGP: | id=C8F252FB; url=http://www.lapo.it/pgpkey.txt |
X-IsSubscribed: | yes |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |