p4raw-id: //depot/perl@13966
c == (UV)UNICODE_GREEK_SMALL_LETTER_FINAL_SIGMA)
c = (UV)UNICODE_GREEK_SMALL_LETTER_SIGMA;
if ( (c == c1 || c == c2 || f == c1 || f == c2)
- && (ln == len ||
+ && (ln == len || ln == foldlen ||
!ibcmp_utf8(s, do_utf8, (I32)(strend - s),
m, UTF, (I32)ln))
&& (norun || regtry(prog, s)) )
else
ulen2 = 1;
if (ulen1 != ulen2
- || (ca < 256 && cb < 256 &&
- PL_fold[ca] != PL_fold[cb])
+ || (ca < 256 && cb < 256 && ca != PL_fold[cb])
|| memNE((char *)tmpbuf1, (char *)tmpbuf2, ulen1))
return 1; /* mismatch */
}