all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Corsair <chris.corsair@gmail.com>
Cc: Peter Dyballa <Peter_Dyballa@Web.DE>, help-gnu-emacs@gnu.org
Subject: Re: Where did the regexp fail?
Date: Mon, 07 Apr 2008 16:59:07 +0200	[thread overview]
Message-ID: <47FA36BB.2060206@gmail.com> (raw)
In-Reply-To: <873apygm4j.fsf@gmail.com>

Thanks Chris, Peter, Drew and Tim for your helpfullness. I appreciate 
it. But my struggles with regexps and all the parenthesis are very easy 
today since I always use rx for complicated regexps.

My struggle with trying to express what I am looking for is however not 
at all finished ;-)

I wanted some kind of simple parser for data in a buffer, but I realize 
now that I have to write a small small parser to be able to give the 
feedback I want to the user.


Corsair wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> 
>> Is there any easy way to see where a regexp failed? Parts of it may
>> have matched and sometimes you may want to see how much that
>> matched. Or, more precisely: where it finally failed.
> 
> Test it part by part?
> 




  parent reply	other threads:[~2008-04-07 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10090.1207537902.18990.help-gnu-emacs@gnu.org>
2008-04-07  7:27 ` Where did the regexp fail? Corsair
2008-04-07  9:02   ` Tim X
2008-04-07 14:59   ` Lennart Borgman (gmail) [this message]
2008-04-08  1:25     ` Mike Mattie
2008-04-08  8:39       ` Lennart Borgman (gmail)
2008-04-07  3:11 Lennart Borgman (gmail)
2008-04-07  8:38 ` Peter Dyballa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47FA36BB.2060206@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=Peter_Dyballa@Web.DE \
    --cc=chris.corsair@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.