Ruby - Regular Expressions
Given a string of dates like
"2023-04-01, 2024-12-31", which Ruby code correctly extracts all year parts using capture groups?