From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19034 invoked from network); 3 Jun 2003 18:00:45 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 3 Jun 2003 18:00:45 -0000 Received: (qmail 13906 invoked by alias); 3 Jun 2003 18:00:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18600 Received: (qmail 13899 invoked from network); 3 Jun 2003 18:00:39 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 3 Jun 2003 18:00:39 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 3 Jun 2003 18:0:39 -0000 Received: from EXCHANGE02.csr.com (unverified) by (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Tue, 3 Jun 2003 19:11:12 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 3 Jun 2003 19:00:49 +0100 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: [[:xdigit:]] bug Date: Tue, 03 Jun 2003 19:00:36 +0100 Message-ID: <10402.1054663236@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 03 Jun 2003 18:00:49.0761 (UTC) FILETIME=[10D73D10:01C329FA] [Sorry, no virus this time.] This has been there ever since I rewrote the pattern code, but it's quite hard to get it to show up. Index: Src/pattern.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/pattern.c,v retrieving revision 1.13 diff -u -r1.13 pattern.c --- Src/pattern.c 10 Dec 2002 12:51:46 -0000 1.13 +++ Src/pattern.c 3 Jun 2003 17:59:31 -0000 @@ -2247,6 +2247,7 @@ case PP_XDIGIT: if (isxdigit(ch)) return 1; + break; case PP_RANGE: range++; r1 = STOUC(UNMETA(range)); -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************