From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10152 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [PATCH] regex: support non-greedy quantifiers Date: Thu, 16 Jun 2016 21:10:50 +0200 Message-ID: <20160616191050.GT22574@port70.net> References: <66E91EF4-6D8E-4263-9386-24C9FF9DC2D9@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466104267 14654 80.91.229.3 (16 Jun 2016 19:11:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2016 19:11:07 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10165-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jun 16 21:11:07 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bDcgz-0001ua-Nm for gllmg-musl@m.gmane.org; Thu, 16 Jun 2016 21:11:05 +0200 Original-Received: (qmail 27680 invoked by uid 550); 16 Jun 2016 19:11:03 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 27652 invoked from network); 16 Jun 2016 19:11:02 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <66E91EF4-6D8E-4263-9386-24C9FF9DC2D9@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:10152 Archived-At: * Julien Ramseier [2016-06-16 17:33:48 +0200]: > > Le 13 mars 2016 =E0 12:06, Julien Ramseier a =E9= crit : > >=20 > > 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. =2E.. >=20 > 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.