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