From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gareth.rees@pobox.com (Gareth Rees) Newsgroups: gmane.emacs.help Subject: Re: how would you debug complex regexp searches?? Date: 22 Sep 2003 07:02:38 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1064240853 17387 80.91.224.253 (22 Sep 2003 14:27:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2003 14:27:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 22 16:27:32 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 1A1Rf2-0005T8-00 for ; Mon, 22 Sep 2003 16:27:32 +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 1A1RTI-0000oD-7b for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Sep 2003 10:15:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 11 Original-NNTP-Posting-Host: 193.112.141.206 Original-X-Trace: posting.google.com 1064239360 31709 127.0.0.1 (22 Sep 2003 14:02:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 22 Sep 2003 14:02:40 GMT Original-Xref: shelby.stanford.edu comp.emacs:81367 gnu.emacs.help:116789 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:12714 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12714 Mayer wrote: > 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? I find `isearch-forward-regexp' (bound to `C-M-s' by default) very useful when debugging regexps: you can see interactively what each bit of the regexp matches. -- Gareth Rees