From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: how would you debug complex regexp searches?? Date: 21 Sep 2003 16:29:27 +0200 Organization: informatimago.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ekyause0.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064154904 3221 80.91.224.253 (21 Sep 2003 14:35:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2003 14:35:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 21 16:35:02 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A15Ik-00012t-00 for ; Sun, 21 Sep 2003 16:35:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A15FI-0003nl-1B for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Sep 2003 10:31:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!area.cu.mi.it!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!thalassa.informatimago.COM!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: thalassa.informatimago.com (195.114.85.198) Original-X-Trace: news.uni-berlin.de 1064154571 2889560 195.114.85.198 (16 [41911]) User-Agent: Gnus/5.09 (Gnus v5.9.0) 21.3.50.pjb1.1 Original-Xref: shelby.stanford.edu comp.emacs:81362 gnu.emacs.help:116770 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12695 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12695 Jesper Harder writes: > gmayer@cs.bgu.ac.il writes: > > > How would one go about debugging complicated regular expressions? Is > > there some way of single-stepping through a regexp matching, so that > > I can see all the characters that were matched? > > 're-builder' is quite handy for writing and debugging regexps. > > It's bundled with recent versions Emacs -- read the Commentary section > of re-builder.el to learn how to use it. Check you antislashes! -- __Pascal_Bourguignon__ http://www.informatimago.com/ Do not adjust your mind, there is a fault in reality.