No comments yet.
Given a regular expression like aba*
And a string like abbab
I want an output that says the match failed at an index of 2.
meaning that the first ab match (or more technically, are the prefix of a match), but the remaining bab "kill" the possibility of a match.
Anyone know of a python library that does this?