Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p9CATUxN015818 for ; Wed, 12 Oct 2011 12:29:31 +0200 Received: (qmail 23406 invoked by alias); 12 Oct 2011 10:29:25 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 12 Oct 2011 10:29:25 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx118) with SMTP; 12 Oct 2011 12:29:25 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p9CAQbF0027100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Oct 2011 12:26:37 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p9C96in6003205; Wed, 12 Oct 2011 12:26:36 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1798627 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 12 Oct 2011 12:26:36 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p9CAQaIF013882 for ; Wed, 12 Oct 2011 12:26:36 +0200 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p9CAQKvQ026921 for ; Wed, 12 Oct 2011 12:26:24 +0200 Received: from mittelbach-online.de (p3EE3FAED.dip.t-dialin.net [62.227.250.237]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0Lo6iD-1QcPLB2SLZ-00gEUf; Wed, 12 Oct 2011 12:26:20 +0200 Received: by mittelbach-online.de (Postfix, from userid 783) id 491B3941ED4; Wed, 12 Oct 2011 12:26:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on Marlowe X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.2.5 Received: from [127.0.0.1] (unknown [192.168.123.103]) (Authenticated sender: frank) by mittelbach-online.de (Postfix) with ESMTPSA id EDF26941EC3 for ; Wed, 12 Oct 2011 12:26:07 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 References: <4E93664D.7090105@residenset.net> <7225.1318285652@cl.cam.ac.uk> <4E945FF9.1060803@residenset.net> <4E952E50.3020004@morningstar2.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111010-2, 10.10.2011), Outbound message X-Antivirus-Status: Clean X-Provags-ID: V02:K0:NZe0RKP+G6pUGGDU94V1zPNZZ/koxqcZ1CK0WCD/ya3 HmgPCmmF/DRXQf6MOvW8qNFrAOEObaSpZtUJpB6y+NfXTIuyE9 vnRmkKkMh2hOaR0KWCOtkYLZAkdQ2gnSypZNd6rH1aaDc6GEn4 FAgqRKGcQpdjLWErEV+Pdwn9JADUe4YbJ08N3IC0lJmrq+0WJM xedRFhgvAbITgbT4w4ToJLx5TDXI+hRKt2B0RDeoOhJtoLB2p1 UJTaWJjUuoZer4PmnEZ/V8BHAGn93fPF6b7MsGZqByCWP9vuzY 8arlty2VZqPnW/lGCgvkK6VmB02Dr+PmQbzZqdmfZ9wNhgVtog 6lz+XqlBZG+jm8HDdbVtr3yk6zwqRIL0peCEAf2Vz Message-ID: <4E954A90.8080103@latex-project.org> Date: Wed, 12 Oct 2011 10:06:40 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: Strings, and regular expressions To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <4E952E50.3020004@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p7zYQev1Bv5lawyulDRL8ctQH3pWSqMp2XQc/0jPe83u7nolIktMLnLB9W2E ssrJjraGoVb5J/snXYhcHhG5dNEc0ycgt/+4qvF8NDO/Ir7kapfH3Qu8m4ENPFfrlEO5ljFayp5p 2QonKoJEsWosJxGb+jUnopSPQucQJTxPrPbTqkjk/GbTFEvkqBrFKAl/mo=V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6919 Am 12.10.2011 08:06, schrieb Joseph Wright: >> >>> Rather than \regex_extract_once:nnN, I would probably call it >>> \regex_extract_first:nnN. >> >> Not sure about that. We already have \tl_replace_(once|all):Nnn, which >> is what prompted me to use once there. @Joseph (and others), would >> \tl_replace_first:Nnn make more sense than _once? > > For the moment, go with 'once', and we can discuss separately whether it > should be once/all or first/all in general. (We've only just changed > this from having 'in' in the name, which has caused confusion enough!) on first glance "first" feels more precise than once. But I guess this is not really true since it requires knowledge that processing is left to right. But personally I like "first" better. Having said that I agree with Joseph that for now use "once" to keep common name structures. frank