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: Tim X
Subject: Re: Where did the regexp fail?
Date: Mon, 07 Apr 2008 19:02:59 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Corsair <address@hidden> writes:

> "Lennart Borgman (gmail)" <address@hidden> 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?

Have a look at re-builder and see if that helps. 

I also tend to use regex search as it highlights matches as they
occur. Put a bunch of examples in a file and refine the regexp that
way. 

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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