summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-05 17:15:30 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-05 17:15:30 +0000
commit8f6ae13c8af6db5c57cde14346d77d89a10817d3 (patch)
tree07bc1e8a370597d168d8d4aa82f3569b6dbce71b /regexec.c
parentb9ad30b40cf004f5ea6fd7a945a950cf873aed7b (diff)
downloadperl-8f6ae13c8af6db5c57cde14346d77d89a10817d3.tar.gz
Abolish RXf_UTF8. Store the UTF-8-ness of the pattern with SvUTF8().
p4raw-id: //depot/perl@32852
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 8144f998f7..dfe71f7977 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3767,7 +3767,6 @@ S_regmatch(pTHX_ regmatch_info *reginfo, regnode *prog)
const char *const p = SvPV(ret, len);
ret = newSVpvn_flags(p, len, SVs_TEMP);
}
- assert(!(pm_flags & RXf_UTF8));
rx = CALLREGCOMP(ret, pm_flags);
if (!(SvFLAGS(ret)
& (SVs_TEMP | SVs_PADTMP | SVf_READONLY