Implement wxRegEx using PCRE

Adjust the tests and document the incompatibilities with the previously
used regex syntax.

In this commit the use of PCRE is conditional on wxUSE_PCRE which is
never defined as 1 yet, so the new code is still disabled.
This commit is contained in:
Vadim Zeitlin
2021-07-17 17:00:19 +02:00
parent 912f4b76ac
commit fa59d5700a
5 changed files with 809 additions and 42 deletions

View File

@@ -60,7 +60,10 @@ enum
wxRE_NOTBOL = 32,
// '$' doesn't match at the end of line
wxRE_NOTEOL = 64
wxRE_NOTEOL = 64,
// don't accept empty string as valid match, try alternatives or fail
wxRE_NOTEMPTY = 128
};
// ----------------------------------------------------------------------------