Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
As per https://github.com/ruby/ruby/pull/6216, add support for pattern matching RE2::MatchData objects by implementing deconstruct and deconstruct_keys.
As per https://github.com/ruby/ruby/pull/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