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 p290vGUU026379 for ; Wed, 9 Mar 2011 01:57:17 +0100 Received: (qmail 23033 invoked by alias); 9 Mar 2011 00:57:11 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 09 Mar 2011 00:57:11 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx051) with SMTP; 09 Mar 2011 01:57:11 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p290scBE008263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Mar 2011 01:54:38 +0100 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 p28N18IR006794; Wed, 9 Mar 2011 01:54:27 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1205570 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 9 Mar 2011 01:54:27 +0100 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 p290sRaM015009 for ; Wed, 9 Mar 2011 01:54:27 +0100 Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.213.177]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p290sIgP013868 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Wed, 9 Mar 2011 01:54:25 +0100 Received: by yxh35 with SMTP id 35so34013yxh.22 for ; Tue, 08 Mar 2011 16:54:17 -0800 (PST) Received: by 10.150.103.14 with SMTP id a14mr6975402ybc.9.1299632057657; Tue, 08 Mar 2011 16:54:17 -0800 (PST) Received: from staff-248-161.wireless.adelaide.edu.au (staff-248-161.wireless.adelaide.edu.au [129.127.248.161]) by mx.google.com with ESMTPS id m25sm890592yhm.31.2011.03.08.16.54.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Mar 2011 16:54:16 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) References: <4D7515F9.6080300@morningstar2.co.uk> X-Mailer: Apple Mail (2.1081) X-Spam-Whitelist: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id p290sRaM015010 Message-ID: <603703F4-0021-4D5D-BB47-E2C685CF53EA@gmail.com> Date: Wed, 9 Mar 2011 11:24:11 +1030 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: Bug in \tl_replace_in:Nnn and friends To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=5D7Q89H36p77e5KAPs1l6v/Sb97LojnDtMgfETrECMLUO9erHzOJe+OynZRhvlGqb5A0X bbiCt2rAnnct/NAlbHMvoAL6GY+23tB3khNK7avqRsgMMVBwlWgrgcyEiCy6eQ7DbfhonniFyqTI PpJNA==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: 6650 On 08/03/2011, at 11:47 PM, Bruno Le Floch wrote: > Thank you Joseph for the quick bug fix. Let me propose the following > code for inclusion. The idea is similar to `\prg_new_map_functions`, > which defines a set of maps, some of which are expandable. Namely, > > \tl_gset_replacer:nnn {} {} {} As an aside, based on the name of \prg_new_map_functions:Nn I think \prg_new_replace_functions:Nn would be better. > defines expandable replacement functions: > > \_replace_aux:nwwn > \_replace_some:nn > \_replace_one:n > \_replace_all:n > > which are all `f`-expandable. This sounds pretty good to me. How useful is the _some function? I'd be happy without it. Anyway, I'd vote for adding this to expl3. -- Will