Enumerate all matches of a regex โ codegolf.stackexchange.com
related
For this challenge, we'll be using a simplified dialect of regular expressions, where:
A lowercase letter from a to z matches itself.
(expr1|expr2) matches either of expr1 and expr2. You will ...