How does Rubular (Example) get the match groups?
/regex(?<named> .*)/.match('some long string')
match method (in example) only returns the first match.
scan method returns an array without named captures.
What is the best way to get an array of named captures (no splitting)?