Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Sam Steingold <sds@gnu.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.fsf@gnu.org> <20040118050449.GA3672@efn.org> <uoeszrcq9.fsf@gnu.org> <20040119201357.GA2608@efn.org> <uisj7r53z.fsf@gnu.org> <20040120194127.GA3880@efn.org>
Reply-To: sds@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sea.gmane.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@rsa.bet> [2004-01-20 11:41:27 -0800]:
> On Mon, Jan 19, 2004 at 04:38:40PM -0500, Sam Steingold <sds@gnu.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/

