[ruby-dev:52056] [Ruby master Bug#19537] Regexp caching algorithm since v3.2.0 causes invalid memory access