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 q1LC0rMs009463 for ; Tue, 21 Feb 2012 13:00:54 +0100 Received: (qmail 5755 invoked by alias); 21 Feb 2012 12:00:45 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 21 Feb 2012 12:00:45 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx115) with SMTP; 21 Feb 2012 13:00:45 +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 q1LBw4VX007172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Feb 2012 12:58:04 +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 q1LBGkwk002985; Tue, 21 Feb 2012 12:58:03 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1949866 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 21 Feb 2012 12:58:03 +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 q1LBw3K6002165 for ; Tue, 21 Feb 2012 12:58:03 +0100 Received: from neptune.ucc.ie (neptune.ucc.ie [143.239.153.183]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id q1LBvsML007091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 21 Feb 2012 12:57:58 +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 B870220072 for ; Tue, 21 Feb 2012 11:58:36 +0000 (GMT) References: <4F2BFFA6.1020306@morningstar2.co.uk> <20120203155926.GA30436@csmvddesktop> <20120205160826.GA6939@csmvddesktop> <20120206054259.GB9462@csmvddesktop> <20120206105103.GA10777@csmvddesktop> <20120206111933.GA11183@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: <20120221120259.GA18620@csmvddesktop> Date: Tue, 21 Feb 2012 12:02:59 +0000 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: dongen Subject: Problem with regex 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=5D7Q89H36p6sJLDpZh614LdjtwLz6vwI5hMbBipZQRAyOH/rrufNWTI2/izknUiEwUegg gQ8TVdJGwwE8xpulX8nKW6GoMJpb4fCeGHGMgfnvHdv5+7GbFfm3/oS1H03WCKi4DIMu3C+FcPoP F8byiptC9E2vL4rfMPnj2RZpACYN1CKgGT40j//c+H9ImaN72NyKC9F6rs=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: 7037 Howsagoin (Bruno?), I don't understand why the following regular expression replacement gobbles the first two characters. \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 It gives me 34\textbackslash5678\textbackslash9012. Thanks in advance for your help. Regards, Marc van Dongen