From owner-freebsd-hackers@FreeBSD.ORG Tue May 10 01:24:42 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 276201065670 for ; Tue, 10 May 2011 01:24:42 +0000 (UTC) (envelope-from giffunip@yahoo.com) Received: from nm20-vm4.bullet.mail.ne1.yahoo.com (nm20-vm4.bullet.mail.ne1.yahoo.com [98.138.91.180]) by mx1.freebsd.org (Postfix) with SMTP id CB72D8FC16 for ; Tue, 10 May 2011 01:24:41 +0000 (UTC) Received: from [98.138.90.48] by nm20.bullet.mail.ne1.yahoo.com with NNFMP; 10 May 2011 01:12:28 -0000 Received: from [98.138.89.249] by tm1.bullet.mail.ne1.yahoo.com with NNFMP; 10 May 2011 01:12:28 -0000 Received: from [127.0.0.1] by omp1041.mail.ne1.yahoo.com with NNFMP; 10 May 2011 01:12:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 554090.66790.bm@omp1041.mail.ne1.yahoo.com Received: (qmail 54756 invoked by uid 60001); 10 May 2011 01:12:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1304989948; bh=15YiEzjQ5zdywD59ONCraIcyNqnfjpvS33s72jmDPFU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=ch+s/3s9X6PxOshXeSggOUTvzpKSBn3/CIMd16mZw4NrBbi7r+gMjlKPe5zQDmoL2MP4+sNoyxdGwjBaBxo+7fgeiDmcEsEnLqoQWATXc5rEk/2rIdCblx7D2a7r6RPAGQOd8RL8ynvriqXHRi7c6MzN701csZFgua2OTls3JrY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=aV5Te1mP3LsMxGW8oplFc6Xc3gS3W1UVyiGB4xu7afaj+h/zJEfA3bSHIDqdsZQ9PFVZ6JTMMupAbVriIfoDD/nmIRw1YtZMjeb+OaunwJyIGIYRXPR5Nor9hy2h9JbJySelRpODgy2Q0Hjbdl3WoLixepJAqY0ToBiJw/B10ZY=; Message-ID: <84842.36474.qm@web113506.mail.gq1.yahoo.com> X-YMail-OSG: RqM7jeQVM1kXvxpjmJXdIwz6tWZBANvUmob8QKbYvTHk_cb 31n.F2MhN_7njw7ujO70vTUipTj4qPFqMQ7t4Ji7zq4q5N_O4KdSQwWQbIZE Q1CYy49rkYrQ8XsEiT7sbiVlObCn_j1Tl3m0CwoOvCmoITgwzSevzR19tZwD .qveHQTP36J8bQI9tbDjuPExpGQnFTAbIqFTH7Nz6rJhRWAaYfeia0c1HnY. OLR4LltL1Q8f_R08GGZYLw5xYTo8OZCQc0pw7_1ZzeO755Q7MQS5PAL97VgT OMcMO9t9dNkwEU_JpE76bqrkls.fXdVH.fqM5dc7W3IwILT3imxLkUY1EmHF pZLzU5q43DY4HCCOw0pyxoiOuFBizA_s..NlTjgion5O2nrtlrcYhYTWJLaT OuUJSt9Pf1HeM Received: from [200.118.158.177] by web113506.mail.gq1.yahoo.com via HTTP; Mon, 09 May 2011 18:12:27 PDT X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.110.299900 Date: Mon, 9 May 2011 18:12:27 -0700 (PDT) From: "Pedro F. Giffuni" To: Gabor Kovesdan In-Reply-To: <20110509014938.EE292B827@mail.bitblocks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 10 May 2011 02:18:36 +0000 Cc: hackers@FreeBSD.org, Brooks Davis Subject: Re: [RFC] Replacing our regex implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2011 01:24:42 -0000 --- On Sun, 5/8/11, Bakul Shah wrote: ... > > C++ may be an impediment for it to go into libc but one > can certainly put a C interface on a C++ library. > I wouldn't think it's very consistent to use C++ in libc. Perhaps we could have the best of both worlds by using libtre as the libc regex replacement and re2 for grep and diff? As an extra benefit using Re2 would make it easier to support --perl-regex in grep. cheers, Pedro.