#ifndef REGEXTEST_H #define REGEXTEST_H #include "test.h" #include "variables.h" /// Project2 component to test the value of a variable against a regular expression class RegexTest : public Test { public: RegexTest(ScriptNodePtr p); virtual ~RegexTest(); bool passes(ExecContext * ec) const; const Variable applyTo; const Variable regex; }; #endif