From: gareth.rees@pobox.com (Gareth Rees)
Subject: Re: how would you debug complex regexp searches??
Date: 22 Sep 2003 07:02:38 -0700 [thread overview]
Message-ID: <e867ce6d.0309220602.646f9637@posting.google.com> (raw)
In-Reply-To: bkiq6v$301$1@news2.netvision.net.il
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
prev parent reply other threads:[~2003-09-22 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-21 1:08 how would you debug complex regexp searches?? gmayer
2003-09-21 0:58 ` Jesper Harder
2003-09-21 14:29 ` Pascal Bourguignon
2003-09-22 14:02 ` Gareth Rees [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e867ce6d.0309220602.646f9637@posting.google.com \
--to=gareth.rees@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).