help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how would you debug complex regexp searches??


From: Gareth Rees
Subject: Re: how would you debug complex regexp searches??
Date: 22 Sep 2003 07:02:38 -0700

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]