Made a Regex class that wraps either boost::regex or wxRegEx (split from ScriptRegex).

Use Regex for keywords.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1196 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-09-03 14:43:11 +00:00
parent 9c9a2aec61
commit 7c83ff01f4
7 changed files with 373 additions and 210 deletions
+10 -1
View File
@@ -28,7 +28,7 @@
#include <wx/wx.h>
#include <wx/image.h>
#include <wx/datetime.h>
#include <wx/regex.h>
#include <wx/regex.h> // TODO : remove, see regex.hpp
// Std headers
#include <vector>
@@ -78,6 +78,15 @@ class FileName : public wxString {
#include "locale.hpp"
#include "error.hpp"
#include "reflect.hpp"
#include "regex.hpp"
#ifdef _MSC_VER
//# pragma conform(forScope,on) // in "for(int x=..);" x goes out of scope after the for
// somehow forScope pragma doesn't work in precompiled headers, use this hack instead:
#ifdef _DEBUG
#define for if(false);else for
#endif
#endif
// ----------------------------------------------------------------------------- : EOF
#endif