summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-11-05 17:05:38 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-11-05 17:05:38 +0000
commitdf1ffd027e0daf4be79846b292a65e7e0cf7d84d (patch)
tree22adbdc38a065ca0d81f7b48f332d73ecd832e25 /regcomp.c
parent220a91308f6b34e49047b6c7b9ae54dc92ee2cad (diff)
downloadperl-df1ffd027e0daf4be79846b292a65e7e0cf7d84d.tar.gz
Regex debugging fixes from Hugo.
p4raw-id: //depot/perl@12858
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 0a63f2233a..efc1275cb5 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4415,7 +4415,7 @@ Perl_regprop(pTHX_ SV *sv, regnode *o)
if (k == EXACT) {
SV *dsv = sv_2mortal(newSVpvn("", 0));
- bool do_utf8 = PL_reg_match_utf8;
+ bool do_utf8 = DO_UTF8(sv);
char *s = do_utf8 ?
pv_uni_display(dsv, (U8*)STRING(o), STR_LEN(o), 60, 0) :
STRING(o);