summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-08-12 21:08:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-12 21:08:06 +0000
commit5700b71cd8484a5485a9fb0bdde355ded1194121 (patch)
treecd3d44197cc0beafd39cb8e44657fe0c202c8cb0 /op.c
parent22ea838f62453c7a2f8000a23c820b7a34636711 (diff)
downloadperl-5700b71cd8484a5485a9fb0bdde355ded1194121.tar.gz
More (less) regex/utf8 relics. (Toned down later in #11653.)
p4raw-id: //depot/perl@11651
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/op.c b/op.c
index 72c0352708..f52ea291d3 100644
--- a/op.c
+++ b/op.c
@@ -3002,16 +3002,12 @@ Perl_pmruntime(pTHX_ OP *o, OP *expr, OP *repl)
p = SvPV(pat, plen);
pm->op_pmflags |= PMf_SKIPWHITE;
}
- if (DO_UTF8(pat))
- pm->op_pmdynflags |= PMdf_UTF8;
PM_SETRE(pm, CALLREGCOMP(aTHX_ p, p + plen, pm));
if (strEQ("\\s+", PM_GETRE(pm)->precomp))
pm->op_pmflags |= PMf_WHITE;
op_free(expr);
}
else {
- if (!IN_BYTES)
- pm->op_pmdynflags |= PMdf_UTF8;
if (pm->op_pmflags & PMf_KEEP || !(PL_hints & HINT_RE_EVAL))
expr = newUNOP((!(PL_hints & HINT_RE_EVAL)
? OP_REGCRESET