mirror of
https://github.com/ruby/ruby.git
synced 2026-01-28 21:14:28 +00:00
rb_reg_onig_match performs preparation, error handling, and cleanup for matching a regex against a string. This reduces repetitive code and removes the need for StringScanner to access internal data of regex.