applied patch 890642: wxRE_ADVANCED flag and docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-02-19 17:28:56 +00:00
parent b4e2cbb515
commit e3f9e20cb1
5 changed files with 132 additions and 16 deletions

View File

@@ -56,5 +56,13 @@
#undef wxHAS_CRASH_REPORT
#endif
/* wxRE_ADVANCED is not always available, depending on regex library used
* (it's unavailable only if compiling via configure against system library) */
#ifndef WX_NO_REGEX_ADVANCED
#define wxHAS_REGEX_ADVANCED
#else
#undef wxHAS_REGEX_ADVANCED
#endif
#endif /* _WX_FEATURES_H_ */

View File

@@ -29,8 +29,13 @@ class WXDLLIMPEXP_BASE wxString;
// flags for regex compilation: these can be used with Compile()
enum
{
// use extended regex syntax (default)
// use extended regex syntax
wxRE_EXTENDED = 0,
// use advanced RE syntax (built-in regex only)
#ifdef wxHAS_REGEX_ADVANCED
wxRE_ADVANCED = 1,
#endif
// use basic RE syntax
wxRE_BASIC = 2,