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 p7TEVw96013893 for ; Mon, 29 Aug 2011 16:32:00 +0200 Received: (qmail 6380 invoked by alias); 29 Aug 2011 14:31:53 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 29 Aug 2011 14:31:52 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx069) with SMTP; 29 Aug 2011 16:31:52 +0200 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 p7TESt7E024350 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Aug 2011 16:28:55 +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 p7TDppLs006217; Mon, 29 Aug 2011 16:28:55 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1606315 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 29 Aug 2011 16:28:55 +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 p7TESsO3009130 for ; Mon, 29 Aug 2011 16:28:54 +0200 Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p7TESrMc007545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Aug 2011 16:28:54 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p7TESrEP020987 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 Aug 2011 16:28:53 +0200 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p7TES9mK024077 for ; Mon, 29 Aug 2011 16:28:13 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qy2oo-00064h-93 for LATEX-L@URZ.UNI-HEIDELBERG.DE; Mon, 29 Aug 2011 16:28:06 +0200 Received: from p5dd1d0ea.dip.t-dialin.net ([93.209.208.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 16:28:06 +0200 Received: from news3 by p5dd1d0ea.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Aug 2011 16:28:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Lines: 25 References: <4E5B6BF7.80208@morningstar2.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dd1d0ea.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Spam-Flag: No X-Envelope-From: X-Spam-Status: No, hits=-4.40 required=5 tests=AWL,BAYES_00,L_P0F_Linux,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS Message-ID: Date: Mon, 29 Aug 2011 16:27:06 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Ulrike Fischer Subject: Re: Removing braces in a token list To: LATEX-L@listserv.uni-heidelberg.de Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p5x1RWm4Ldx8pHNe5ytInNcF+rt2fkAzPpBcFfOyRSLDvuNTLRkzi0zhLWGD cuGfP4hfu2PIiH6zzFsGrZiiQjSevKYbtPdsEK5Cdtjlu82TXFI89jQwIKOIx3ls4vyTX7UqzdGZ ozTodvwTW7SZhv+tymCdfOM7uZ1Zo3x+t6yNZJ5jkfE7LSYuHJsKhRYTS8=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: 6840 Am Mon, 29 Aug 2011 10:10:39 -0400 schrieb Bruno Le Floch: >> The is no pre-build 'strip_braces' function at present. You don't say if >> we are talking one set of braces or multiple sets. For the former case, >> a simple 'do nothing' loops would be easiest: >> >> \tl_set:Nx \l_temp_tl >> { \tl_map_function:NN \l_temp_tl \exp_not:n } > > Agreed with Joseph. If you need to recursively remove braces, and > don't care about speed, Well actually I don't need to remove the braces recursively and I do care about speed so the solution of Joseph is fine. I don't want to make the parsing to complicated, I even haven't decided yet if I really should care about possible braces. (I'm starting to like expl3 quite a lot. But I'm still unsure about the concrete meaning of some concepts, this make it a bit difficult to decide in which part of the documentation to look for something. So I'm quite happy that I didn't overlook an existing solution ;-).) -- Ulrike Fischer