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