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 q1LCx6tx022031 for ; Tue, 21 Feb 2012 13:59:07 +0100 Received: (qmail 16864 invoked by alias); 21 Feb 2012 12:58:54 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 21 Feb 2012 12:58:54 -0000 Received: from relay2.uni-heidelberg.de (EHLO relay2.uni-heidelberg.de) [129.206.210.211] by mx0.gmx.net (mx033) with SMTP; 21 Feb 2012 13:58:54 +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 q1LCulsO022508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Feb 2012 13:56:47 +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 q1LBGk1M002985; Tue, 21 Feb 2012 13:56:46 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1950176 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 21 Feb 2012 13:56:46 +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 q1LCuk5E008537 for ; Tue, 21 Feb 2012 13:56:46 +0100 Received: from lon1-msapost-1.mail.demon.net (lon1-msapost-1.mail.demon.net [195.173.77.180]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q1LCuVjA005828 for ; Tue, 21 Feb 2012 13:56:36 +0100 Received: from capjwrightlap.che.uea.ac.uk ([139.222.115.121]) by lon1-post-1.mail.demon.net with esmtpsa (AUTH morningstar2) (TLSv1:AES256-SHA:256) (Exim 4.69) id 1RzpGh-0002ke-Yr for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 21 Feb 2012 12:56:31 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 References: <4F2BFFA6.1020306@morningstar2.co.uk> <20120203155926.GA30436@csmvddesktop> <20120205160826.GA6939@csmvddesktop> <20120206054259.GB9462@csmvddesktop> <20120206105103.GA10777@csmvddesktop> <20120206111933.GA11183@csmvddesktop> <20120221120259.GA18620@csmvddesktop> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4F43947F.3070701@morningstar2.co.uk> Date: Tue, 21 Feb 2012 12:56:31 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Problem with regex To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: <20120221120259.GA18620@csmvddesktop> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Sender is in whitelist: joseph.wright@MORNINGSTAR2.CO.UK); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnBi0P5cROEGjO+pG7NAH/K+tf9SrVFtpLrKONl 2T9EL4W4U4jgzLbnCcGpk1z/zwmKT/K1fv3lD0=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: 7038 On 21/02/2012 12:02, dongen wrote: > \tl_new:N \l_arg_tl > \regex_const:Nn \c_slash_regex_tl { / } > \tl_set:Nn \l_arg_tl {1234/5678/9012} > \regex_replace_all:NnN \c_slash_regex_tl {\c{textbackslash}} \l_arg_tl > \regex_use:N \l_arg_tl ^^^^^^^^^^^ You want \tl_use:N -- Joseph Wright