--- MatchData (message='My MatchData with named captures'): size: 3 regexp: !ruby/regexp /(?.)(?.)?/ to_a: - a - a - captures: - a - names: - x - y