This is based on https://github.com/masamitsu-murase/mruby-hs-regexp