Add wxRegEx::GetLibraryVersionInfo()

This allows to check the version of PCRE used.
This commit is contained in:
Vadim Zeitlin
2021-07-17 20:28:39 +02:00
parent dbe0950384
commit 3415325f4f
4 changed files with 34 additions and 0 deletions

View File

@@ -360,5 +360,17 @@ public:
@since 3.1.6
*/
static wxString ConvertFromBasic(const wxString& bre);
/**
Return the version of PCRE used.
The returned wxVersionInfo object currently always has its micro
version component set to 0, as PCRE uses only major and minor version
components. Its description component contains the version number,
release date and, for pre-release PCRE versions, a mention of it.
@since 3.1.6
*/
static wxVersionInfo GetLibraryVersionInfo();
};