in reply to Re: Can I determine index point of failure in string during regex match attempt
in thread Can I determine index point of failure in string during regex match attempt
For the case of a simple string of characters, that would be an easy way to handle it. And as Oiskuu mentioned below, full regex capability probably does essentially make this a variant of the Halting problem.
So perhaps a simpler question. Can you get the index of the last successful matching character for a failed regex? Judging from what I've seen, I don't think so, but I'm often wrong :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Can I determine index point of failure in string during regex match attempt
by AnomalousMonk (Archbishop) on May 07, 2014 at 00:53 UTC |