[Pitch] Regex Reverse Matching

Something that was brought up in the thread that started all this (for me at least) was how reverse matching could open up the possibility of APIs like String.ends(with: RegexComponent). I forgot to include that in this draft but it seems like a good inclusion. Thoughts from others?

I think in practice it would actually be implemented on BidirectionalCollection where SubSequence == Substring

3 Likes