mudge/re2

Pattern matching support for RE2::MatchData

mudge opened this issue · 1 comments

mudge commented

As per ruby/ruby#6216, add support for pattern matching RE2::MatchData objects by implementing deconstruct and deconstruct_keys.

See https://docs.ruby-lang.org/en/3.0/syntax/pattern_matching_rdoc.html#label-Matching+non-primitive+objects-3A+deconstruct+and+deconstruct_keys

mudge commented

Added in #58