diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1235,6 +1235,7 @@ match_set_string(VALUE m, VALUE string, long pos, long len) rmatch->regs.beg[0] = pos; rmatch->regs.end[0] = pos + len; rmatch->char_offset_updated = 0; + OBJ_INFECT(match, string); } void |