- Added regex support to expressions.
- Implmented configurable case sensitivity.
This commit is contained in:
Paul Beckingham
2011-06-21 18:07:12 -04:00
parent 8040ed5430
commit 03dbf7f468
4 changed files with 49 additions and 59 deletions

View File

@@ -32,6 +32,7 @@
#include <stack>
#include <Arguments.h>
#include <Task.h>
#include <RegX.h>
#include <Variant.h>
class Expression
@@ -56,10 +57,11 @@ private:
bool is_new_style ();
private:
bool eval_match (Variant&, Variant&, bool);
private:
Arguments _args;
std::map <std::string, RegX> _regexes;
};
#endif