From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25376 invoked by alias); 14 Sep 2002 00:53:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25366 invoked from network); 14 Sep 2002 00:53:38 -0000 Received: from unknown (HELO jareth.dreamhost.com) (66.33.198.201) by sources.redhat.com with SMTP; 14 Sep 2002 00:53:38 -0000 Received: from hug.dreamhost.com (basic-cabo.hug.dreamhost.com [66.33.198.140]) by jareth.dreamhost.com (Postfix) with ESMTP id 095E16B5F6 for ; Fri, 13 Sep 2002 17:53:37 -0700 (PDT) Received: from paper-wolf-solo.tigerfood.org (localhost [127.0.0.1]) by hug.dreamhost.com (8.11.0/8.9.3/Debian 8.9.3-21) with ESMTP id g8E0ras13644 for ; Fri, 13 Sep 2002 17:53:37 -0700 Received: from tigerfood.org (flee@localhost) by paper-wolf-solo.tigerfood.org (8.11.6/8.11.6) with ESMTP id g8E0r8d11853 for ; Fri, 13 Sep 2002 17:53:20 -0700 Message-Id: <200209140053.g8E0r8d11853@paper-wolf-solo.tigerfood.org> X-Authentication-Warning: paper-wolf-solo.tigerfood.org: flee owned process doing -bs From: Felix Lee Subject: Re: Expect fails to recognize regexp To: gdb@sources.redhat.com In-reply-to: <20020913200643.I1574@cygbert.vinschen.de> on Fri, 13 Sep 2002 20:06:43 +0200. Date: Fri, 13 Sep 2002 17:53:00 -0000 X-SW-Source: 2002-09/txt/msg00174.txt.bz2 Corinna Vinschen : > What I did was adding the following patch to gdb.exp: are you sure the gdb.exp you're editing is the one that's being used when you run tests, rather than a gdb.exp that's 'installed' somewhere? the path of the gdb.exp that's read is mentioned somewhere in the gdb.log file. or you can just add a verbose "got here" 0 somewhere in the file to check. btw, "." does match "\n", which you can verify by doing: $ expect expect1.1> regexp "." "\n" 1 --