This is just a convenience function for when you may not want all matches (so you don't use MatchAll), but you want to keep on searching without having to calculate the new start position.
e.g. if MatchNext(Captures);
You would need to store internally a pointer to the Input string and to the last found match position.
Maybe not such a good idea.
This is just a convenience function for when you may not want all matches (so you don't use MatchAll), but you want to keep on searching without having to calculate the new start position.