diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-01 20:29:30 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-01 20:29:30 +0000 |
commit | 393fec973b1b95a178b4b9600173880d9f93debf (patch) | |
tree | c3d4ec71f5df9352cf1aba3acb8afd24acb9ebe3 /regcomp.c | |
parent | a86f0dc98a98470272f57769cfd209896e37a52f (diff) | |
download | perl-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |