Project

General

Profile

« Previous | Next » 

Revision 7193b404

Added by peterzhu2118 (Peter Zhu) over 2 years ago

Add function rb_reg_onig_match

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.