diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2695,7 +2695,6 @@ rb_reg_regsub(VALUE str, VALUE src, struct re_registers *regs, VALUE regexp) int no, clen; rb_encoding *enc = rb_enc_check(str, src); - rb_enc_check(str, regexp); p = s = RSTRING_PTR(str); e = s + RSTRING_LEN(str); |