diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-01 18:27:50 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-01 18:27:50 +0000 |
commit | ac7e0132fa3fb9026334583d81fcfe7cfe71f446 (patch) | |
tree | 585cae4c8711231690ecd63879e82287400db073 /regcomp.c | |
parent | 609ff63dcc9d67d1df366f7c5bca220928c02850 (diff) | |
download | perl-ac7e0132fa3fb9026334583d81fcfe7cfe71f446.tar.gz |
Now that to_utf8_fold() was fixed.
p4raw-id: //depot/perl@14004
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3132,9 +3132,7 @@ tryagain: p = regwhite(p, RExC_end); if (UTF && FOLD) { /* Prime the casefolded buffer. */ - toFOLD_uni(ender, tmpbuf, &foldlen); - /* Need to peek at the first character. */ - ender = utf8_to_uvchr(tmpbuf, 0); + ender = toFOLD_uni(ender, tmpbuf, &foldlen); } if (ISMULT2(p)) { /* Back off on ?+*. */ if (len) |