[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how would you debug complex regexp searches??
From: |
Pascal Bourguignon |
Subject: |
Re: how would you debug complex regexp searches?? |
Date: |
21 Sep 2003 16:29:27 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) 21.3.50.pjb1.1 |
Jesper Harder <harder@myrealbox.com> 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.