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