www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/16:35:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: Sam Steingold <sds AT gnu DOT org>
Subject: Re: cygwin/regex is non-POSIX
Date: Tue, 20 Jan 2004 16:35:37 -0500
Organization: disorganization
Lines: 31
Message-ID: <u1xpupal2.fsf@gnu.org>
References: <uhdyxm0ji DOT fsf AT gnu DOT org> <20040118050449 DOT GA3672 AT efn DOT org> <uoeszrcq9 DOT fsf AT gnu DOT org> <20040119201357 DOT GA2608 AT efn DOT org> <uisj7r53z DOT fsf AT gnu DOT org> <20040120194127 DOT GA3880 AT efn DOT org>
Reply-To: sds AT gnu DOT org
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt)

> * Yitzchak Scott-Thoennes <fgubraan AT rsa DOT bet> [2004-01-20 11:41:27 -0800]:
> On Mon, Jan 19, 2004 at 04:38:40PM -0500, Sam Steingold <sds AT gnu DOT org> wrote:
>> >> Finally, a common extension appears to be the use or "?" after a
>> >> repetition specification to mean non-greedy matching, e.g.
>> >> "a+?" will match only the first "a" in "aaaa".
>> > You want the pcre packages then (pcre and pcre-devel).
>> no, not really.
> Care to say why?

My interest in regular expressions is limited to maintaining CLISP
regexp & pcre modules:
<http://clisp.cons.org/impnotes/modules.html#pcre>
<http://clisp.cons.org/impnotes/modules.html#regexp>
this specific issue was motivated by my attempt to adopt a regexp
testsuite
<http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/modules/regexp/test.tst>
(comments welcome - not here but on
<http://lists.sourceforge.net/lists/listinfo/clisp-list>)


Could you (or anyone else) explain to me the rationale behind BREs
supporting back-refs and EREs not supporting them?
This is very counterintuitive.
I don't think this is directly relevant to cygwin,
so private e-mail is welcome.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
If you think big enough, you'll never have to do it.


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