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 q12Epvvn011564 for ; Thu, 2 Feb 2012 15:51:58 +0100 Received: (qmail 22576 invoked by alias); 2 Feb 2012 14:51:52 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 02 Feb 2012 14:51:51 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx039) with SMTP; 02 Feb 2012 15:51:51 +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 q12BDcQj025311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Feb 2012 12:13:39 +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 q12AJpVp006469; Thu, 2 Feb 2012 12:13:38 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 2019199 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 2 Feb 2012 12:13:38 +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 q12BDc2U017516 for ; Thu, 2 Feb 2012 12:13:38 +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 q12BDOcM025133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Feb 2012 12:13:28 +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 1AC9D20165; Thu, 2 Feb 2012 11:13:40 +0000 (GMT) References: <20120202102957.GB14566@csmvddesktop> <4F2A68F9.1010508@morningstar2.co.uk> 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: <20120202111808.GA15304@csmvddesktop> Date: Thu, 2 Feb 2012 11:18:08 +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: <4F2A68F9.1010508@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (eXpurgate); Detail=5D7Q89H36p5x1RWm4Ldx8pHNe5ytInNcMw2FL/HxFNI+fHlIQ2uDbYhJtf2aHMn6l2SKY owes+NklPf9o0B3KxMKNVf5YHtDrkoP6r0tminrO5nTfDqUSMFXAJLE+I8+T26KH9Kv94h2MWM01 XlO3PgD3J5Uw+b2m5+/tXCmCj0v22JGfN3g99S6TS0ID2RPk6c6YXzD7LA=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: 7002 * Joseph Wright [2012-02-02 10:44:09 +0000]: Hi Joseph, : There is certainly nothing at present in l3kernel to do this. What I am : not sure of here is a use case: these seem somewhat unusual functions. : : Although it is not yet in l3kernel, I wonder if this is a job for the : l3regex module that Bruno has written. Using a regex, it is possible to : specify complex token list requirements without needing lots of : dedicated functions (at the cost of performance). (The regex code is in : l3experimental.) For example, The following shoul (I hope) match a token : list made up entirely of letters with category code 'letter' : : \regex_match:nnTF { } { ^\c[a-zA-Z]L+$ } ... Thanks. For token lists, the regex module seems more appropriate than my proposal. Also I have to admit that I hadn't looked at the regexp module yet. It certainly lets me do what I need. However, I think the functions I proposed are useful on their own. Regards, Marc