Add wxRegEx::ConvertFromBasic() helper

This will be used to implement support for BREs using PCRE which doesn't
support them directly in the upcoming commits.
This commit is contained in:
Vadim Zeitlin
2021-06-18 23:56:09 +02:00
parent 020b5f7383
commit f41564a3e2
5 changed files with 305 additions and 0 deletions

View File

@@ -24,3 +24,6 @@ expressions</em> (BRE). EREs are roughly those of the traditional @e egrep,
// 2019), i.e. SEH translator seems to work just fine without /EHa too, so
// Purpose: helpers for the structured exception handling (SEH) under Win32
* MinGW-w64 versions 7.3 and 8.1 (32-bit binaries use SJLJ exceptions, 64-bit ones use SEH, and all binaries use Win32 threads).
static wxString ConvertFromBasic(const wxString& bre);
This function can be used to convert @a bre using deprecated wxRE_BASIC
static wxString ConvertFromBasic(const wxString& bre);