[ruby-core:115967] [Ruby master Bug#20097] Regexp#match? with empty capture group repeat is inconsistent