Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 16 Jun 2016 15:41:21 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Re: [PATCH] regex: support non-greedy quantifiers

On Thu, Jun 16, 2016 at 09:10:50PM +0200, Szabolcs Nagy wrote:
> * Julien Ramseier <j.ramseier@...il.com> [2016-06-16 17:33:48 +0200]:
> > > Le 13 mars 2016 à 12:06, Julien Ramseier <j.ramseier@...il.com> a écrit :
> > > 
> > > Here's a tiny patch to enable non-greedy regex quantifiers.
> > > This is not specified by POSIX, but I think it's a useful
> > > extension, and all the code for supporting it is already present.
> ...
> > 
> > Ping?
> 
> musl is conservative about its regex syntax since extensions
> are not portable across impementations so users cannot rely
> on them.
> 
> i think this extension is not available in glibc and other
> posix regex implementations either, it's a perl invention,
> so it would be wrong to add it to musl, those who want perl
> syntax can use the pcre lib.

Indeed, and beyond the general principle of not adding extensions
without strong precedent and justification, I really do not want to be
adding new dubious extensions to something we're considering rewriting
completely. It would add implementation burden and constraints on the
new implementation.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.