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 q13K3Uuw001455 for ; Fri, 3 Feb 2012 21:03:32 +0100 Received: (qmail 27521 invoked by alias); 3 Feb 2012 20:03:25 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 03 Feb 2012 20:03:25 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx043) with SMTP; 03 Feb 2012 21:03:25 +0100 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 q13K17a6013422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Feb 2012 21:01:07 +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 q13HKYc5017312; Fri, 3 Feb 2012 21:01:06 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 2005003 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 3 Feb 2012 21:01:06 +0100 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id q13K16pa030391 for ; Fri, 3 Feb 2012 21:01:06 +0100 Received: from mail-lpp01m020-f177.google.com (mail-lpp01m020-f177.google.com [209.85.217.177]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q13K11iL025123 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Fri, 3 Feb 2012 21:01:05 +0100 Received: by lbon10 with SMTP id n10so885585lbo.22 for ; Fri, 03 Feb 2012 12:01:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with SMTP id ez4mr2352025lbb.46.1328299261772; Fri, 03 Feb 2012 12:01:01 -0800 (PST) Received: by 10.152.13.106 with HTTP; Fri, 3 Feb 2012 12:01:01 -0800 (PST) References: <20120202102957.GB14566@csmvddesktop> <4F2A68F9.1010508@morningstar2.co.uk> <20120202111808.GA15304@csmvddesktop> <20120202131844.GA16372@csmvddesktop> <20120202133153.GA16604@csmvddesktop> <20120203151218.GA30208@csmvddesktop> <4F2BFFA6.1020306@morningstar2.co.uk> <20120203155926.GA30436@csmvddesktop> Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Whitelist: Message-ID: Date: Fri, 3 Feb 2012 15:01:01 -0500 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Bruno Le Floch Subject: Re: Mapping Functions Versions for All and Some To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <20120203155926.GA30436@csmvddesktop> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (BackTrace mail analyze); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnGL2vqOgpaBYL16oitsMrgDt/NQNpSCZFFjDOy 97xb7Zpf+wZnd5ZXNcvLDXR3Wg3wRjdQbwEMh8=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: 7018 > : All LaTeX3 functions are either fully expandable or engine-protected. In > : this case, we are talking about protected functions: these are not > : expandable. (In the documentation, expandable functions are marked with > : a star.) Joseph is right. Regular expression matching is already tough enough to not try to do it expandably (besides, that would become unreasonably slow, and would break in corner cases). What you seem to be trying can be done as follows instead: \regex_match:nnTF {o} {o} { \xdef\foo{0,0} } { \xdef\foo{1,1} } -- Regards, Bruno