diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-12 21:08:06 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-12 21:08:06 +0000 |
commit | 5700b71cd8484a5485a9fb0bdde355ded1194121 (patch) | |
tree | cd3d44197cc0beafd39cb8e44657fe0c202c8cb0 /pp_ctl.c | |
parent | 22ea838f62453c7a2f8000a23c820b7a34636711 (diff) | |
download | perl-5700b71cd8484a5485a9fb0bdde355ded1194121.tar.gz |
More (less) regex/utf8 relics. (Toned down later in #11653.)
p4raw-id: //depot/perl@11651
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -121,16 +121,7 @@ PP(pp_regcomp) PL_reginterp_cnt = I32_MAX; /* Mark as safe. */ pm->op_pmflags = pm->op_pmpermflags; /* reset case sensitivity */ - if (DO_UTF8(tmpstr)) - pm->op_pmdynflags |= PMdf_DYN_UTF8; - else { - pm->op_pmdynflags &= ~PMdf_DYN_UTF8; - if (pm->op_pmdynflags & PMdf_UTF8) - t = (char*)bytes_to_utf8((U8*)t, &len); - } PM_SETRE(pm, CALLREGCOMP(aTHX_ t, t + len, pm)); - if (!DO_UTF8(tmpstr) && (pm->op_pmdynflags & PMdf_UTF8)) - Safefree(t); PL_reginterp_cnt = 0; /* XXXX Be extra paranoid - needed inside tie/overload accessors. */ } |