diff options
-rw-r--r-- | re.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3853,6 +3853,8 @@ reg_copy(VALUE copy, VALUE orig) RB_OBJ_WRITE(copy, &RREGEXP(copy)->src, RREGEXP(orig)->src); RREGEXP_PTR(copy)->timelimit = RREGEXP_PTR(orig)->timelimit; rb_enc_copy(copy, orig); return copy; } |