Constructs an instance of the class. The argument regExp must not be null.
RegExpPatternEvaluator(this.regExp);