[ruby-core:116022] [Ruby master Bug#20104] Regexp#match returns nil but allocates T_MATCH objects