[ruby-core:115562] [Ruby master Bug#20031] Regexp using greedy quantifier and unions on a big string uses a lot of memory