From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5639 invoked by alias); 5 May 2005 18:04:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5608 invoked from network); 5 May 2005 18:04:27 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 5 May 2005 18:04:27 -0000 Received: from zaretski (IGLD-83-130-245-224.inter.net.il [83.130.245.224]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id EHN94345 (AUTH halo1); Thu, 5 May 2005 21:04:19 +0300 (IDT) Date: Thu, 05 May 2005 18:04:00 -0000 From: "Eli Zaretskii" To: Dennis Brueni , gdb-patches@sources.redhat.com Message-ID: <01c5519c$Blat.v2.4$a9f54a20@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 In-reply-to: <20050505171910.GB31758@white> (message from Bob Rossi on Thu, 5 May 2005 13:19:10 -0400) Subject: Re: [RFC] fullname attribute for GDB/MI stack frames Reply-to: Eli Zaretskii References: <20050430191755.GF7009@nevyn.them.org> <20050501021945.GA19962@white> <01c54e7a$Blat.v2.4$e31afae0@zahav.net.il> <20050505171910.GB31758@white> X-SW-Source: 2005-05/txt/msg00173.txt.bz2 > Date: Thu, 5 May 2005 13:19:10 -0400 > From: Bob Rossi > Cc: Dennis Brueni , gdb-patches@sources.redhat.com > > > The proper regexp should be something like > > > > \([A-z]:\)?[/\\].*basics.c > > I sent this question to Eli, but thought others might be interested. > The regex above woks on /.* and d:\.* and \\.* and \.* but it doesn't > work on d:.*. I can't see a simple way to add that last case. Does > anyone else? > > This is the only way I could solve the last case, > \([A-z]:[^\].*\)|\([A-z]:\)?[/\\].*basics.c How about \(\([A-z]:.*\)\|[/\\]\).*basics.c ?