The else clause is expecting that the regex is compiled under /d, when
in fact, until this commit, it could also be under /l. I could not come
up with a case currently where this distinction matters, but it's best
to not tempt fate.
* fold the classes (folding of those is automatically handled by the swash
* fetching code) */
if (posixes) {
- if (AT_LEAST_UNI_SEMANTICS) {
+ if (! DEPENDS_SEMANTICS) {
if (cp_list) {
_invlist_union(cp_list, posixes, &cp_list);
SvREFCNT_dec(posixes);
}
}
else {
-
/* Under /d, we put into a separate list the Latin1 things that
* match only when the target string is utf8 */
SV* nonascii_but_latin1_properties = NULL;