Drop WX_NO_REGEX_ADVANCED and always define wxHAS_REGEX_ADVANCED

Using non-PCRE system regex library, which was the only build variant
when wxHAS_REGEX_ADVANCED was not defined, is not supported any more, so
simplify the code by not testing for it.
This commit is contained in:
Vadim Zeitlin
2021-07-17 17:40:16 +02:00
parent 3d8438619d
commit dbe0950384
9 changed files with 6 additions and 45 deletions

View File

@@ -184,8 +184,6 @@ TEST_CASE("wxRegEx::ConvertFromBasic", "[regex][basic]")
CHECK( wxRegEx::ConvertFromBasic("[^$\\)]") == "[^$\\)]" );
}
#ifdef wxHAS_REGEX_ADVANCED
TEST_CASE("wxRegEx::Unicode", "[regex][unicode]")
{
const wxString cyrillicCapitalA(L"\u0410");
@@ -198,6 +196,4 @@ TEST_CASE("wxRegEx::Unicode", "[regex][unicode]")
CHECK( re.GetMatch(cyrillicSmallA) == cyrillicSmallA );
}
#endif // wxHAS_REGEX_ADVANCED
#endif // wxUSE_REGEX