summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-01 20:29:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-01 20:29:30 +0000
commit393fec973b1b95a178b4b9600173880d9f93debf (patch)
treec3d4ec71f5df9352cf1aba3acb8afd24acb9ebe3 /regcomp.c
parenta86f0dc98a98470272f57769cfd209896e37a52f (diff)
downloadperl-393fec973b1b95a178b4b9600173880d9f93debf.tar.gz
HINT_UTF8 is not propagated to the op tree anymore; add a
perlunicode.pod that reflects changes to unicode support so far p4raw-id: //depot/perl@4941
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 5972724410..bf08761d43 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -1339,9 +1339,8 @@ Perl_pregcomp(pTHX_ char *exp, char *xend, PMOP *pm)
if (exp == NULL)
FAIL("NULL regexp argument");
- if (PL_curcop == &PL_compiling ? (PL_hints & HINT_UTF8) : IN_UTF8) {
+ if (pm->op_pmdynflags & PMdf_UTF8) {
PL_reg_flags |= RF_utf8;
- pm->op_pmdynflags |= PMdf_UTF8;
}
else
PL_reg_flags = 0;