diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-20 13:59:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-03-20 13:59:58 +0000 |
commit | 33b8afdf5cd7f66238db46e095c6effe7bebe9ee (patch) | |
tree | 4708cd5f7fcc68c5cc6584c05a825f6c168c901e /sv.c | |
parent | 6d5328bc15982a12e4db34e42922fa0ff551ed7c (diff) | |
download | perl-33b8afdf5cd7f66238db46e095c6effe7bebe9ee.tar.gz |
Fix for "UTF-8 bug with s///" from Hugo.
p4raw-id: //depot/perl@15356
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8592,6 +8592,7 @@ Perl_re_dup(pTHX_ REGEXP *r, CLONE_PARAMS *param) s->min_offset = r->substrs->data[i].min_offset; s->max_offset = r->substrs->data[i].max_offset; s->substr = sv_dup_inc(r->substrs->data[i].substr, param); + s->utf8_substr = sv_dup_inc(r->substrs->data[i].utf8_substr, param); } ret->regstclass = NULL; |