mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: Re: [PATCH] regex: support non-greedy quantifiers
Date: Thu, 16 Jun 2016 15:41:21 -0400	[thread overview]
Message-ID: <20160616194121.GJ10893@brightrain.aerifal.cx> (raw)
In-Reply-To: <20160616191050.GT22574@port70.net>

On Thu, Jun 16, 2016 at 09:10:50PM +0200, Szabolcs Nagy wrote:
> * Julien Ramseier <j.ramseier@gmail.com> [2016-06-16 17:33:48 +0200]:
> > > Le 13 mars 2016 à 12:06, Julien Ramseier <j.ramseier@gmail.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


      reply	other threads:[~2016-06-16 19:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-13 11:06 Julien Ramseier
2016-06-16 15:33 ` Julien Ramseier
2016-06-16 19:10   ` Szabolcs Nagy
2016-06-16 19:41     ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160616194121.GJ10893@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).