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

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

Re: Where did the regexp fail?


From: Lennart Borgman (gmail)
Subject: Re: Where did the regexp fail?
Date: Mon, 07 Apr 2008 16:59:07 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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?





reply via email to

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