[Regexp] Finding failure point in RE

mitch-GNU RegExp List <[email protected]>
Newsgroups gmane.comp.gnu.regexp
Message-ID <FCAD877FCDC934468792D53D3D0E7AFB021895@IGS001>
I posted this question a while but got no response, so I'll try once more...

Is there a way (or plans to develop a way) to discover where in a regular
expression that matching failed (i.e. didn't find a match)?  Or alternately,
but not as useful, where in the regular expression is the last point that
successfully matched the input string?

Background:  I created a system that uses regular expressions to match
against the contents of incoming emails that contain output from various
status checks, operational tasks, etc.  When a match fails, it is a time
consuming processes to discover where the failure point is.  A index into
the regular expression (or input string I guess) that showed where the match
failed would be very useful and time saving.

Thanks for any ideas and replies.

Mitch Claborn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.