summaryrefslogtreecommitdiff
path: root/transcode.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-07-26 15:57:03 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-07-27 13:33:40 -0400
commit7193b404a1a56e50f8046d0382914907020c1559 (patch)
treef0d17c30d36039eab9b8c421e24d412535e05d5e /transcode.c
parente5effa4bd063f454f9f304e6f9fbf9dd8b353a76 (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8123
Diffstat (limited to 'transcode.c')
0 files changed, 0 insertions, 0 deletions