diff options
-rw-r--r-- | include/ruby/re.h | 21 | ||||
-rw-r--r-- | re.c | 2 |
2 files changed, 22 insertions, 1 deletions
@@ -106,6 +106,27 @@ long rb_reg_adjust_startpos(VALUE re, VALUE str, long pos, int dir); VALUE rb_reg_quote(VALUE str); /** * Runs a regular expression match using function `match`. Performs preparation, * error handling, and memory cleanup. * @@ -1575,7 +1575,7 @@ rb_reg_prepare_enc(VALUE re, VALUE str, int warn) return enc; } -static regex_t * rb_reg_prepare_re(VALUE re, VALUE str) { int r; |