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 q13FA6eO023841 for ; Fri, 3 Feb 2012 16:10:08 +0100 Received: (qmail 18041 invoked by alias); 3 Feb 2012 15:10:01 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 03 Feb 2012 15:10:01 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx108) with SMTP; 03 Feb 2012 16:10:01 +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 q13F7nPX011653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Feb 2012 16:07:49 +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 q13De6bh017312; Fri, 3 Feb 2012 16:07:48 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1999181 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 3 Feb 2012 16:07:48 +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 q13F7mqv029153 for ; Fri, 3 Feb 2012 16:07:48 +0100 Received: from neptune.ucc.ie (neptune.ucc.ie [143.239.153.183]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id q13F7XZa029168 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 3 Feb 2012 16:07:38 +0100 Received: from csmvddesktop (csmvddesktop.ucc.ie [143.239.74.97]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: dongen) by neptune.ucc.ie (Postfix) with ESMTPSA id B71052007A for ; Fri, 3 Feb 2012 15:07:50 +0000 (GMT) References: <20120202102957.GB14566@csmvddesktop> <4F2A68F9.1010508@morningstar2.co.uk> <20120202111808.GA15304@csmvddesktop> <20120202131844.GA16372@csmvddesktop> <20120202133153.GA16604@csmvddesktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Message-ID: <20120203151218.GA30208@csmvddesktop> Date: Fri, 3 Feb 2012 15:12:18 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: dongen Subject: Re: Mapping Functions Versions for All and Some 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 (eXpurgate); Detail=5D7Q89H36p7zYQev1Bv5lawyulDRL8ct+jR23XIbVDLmbYbWTwl59thh8jMrQ69tRjgzC KQs9+DF3+mBHse5a8uf4ZmiKmlpKpT2QN9jOygDTO/oIDe6DJNYvBTUofafrfJqc+GX4pNJIAJ0e RJ4rItaWbdhJ7On25v8drrXUyhFSZF8aaTqT2pLmlcrlAiS2v9SuiI0eSA=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: 7015 * Bruno Le Floch [2012-02-02 10:57:16 -0500]: Hi Bruno/all, I'm having some problem with expansion. The following is a contrived example of what's going wrong. I must be missing something obvious. \expandafter \xdef\csname #1\endcsname ##1{% \regex_match:nnTF{o}{o}{{0}{0}}{{1}{1}} } This defines some macro with the following definition: macro:#1->\regex_match:nnTF {o}{o}{{0}{0}}{{1}{1}} I'd have thought the body of an xdef would be fully expanded (unless you put an explicit \noexpand in front of an expression). Why doesn't the \regex_match expand? If there's any documentation I should read in order to understand this, please let me know where to find it. Lots of thanks in advance. Regards, Marc