### Question:
StaticUtil { public static IFilter regexFilter(long line, String column, String condition, Object... args) { return new RegexMvelFilter(line, column, StringEscapeUtils.escapeJava(condition), toMap(args)); }  static Object eval(long line, String column, String expression, Object... args); static boolean evalCondition(long line, String column, String expression, Object... args); static IFilter nullFilter(long line, String column); static IFilter notNullFilter(long line, String column); static IFilter simpleFilter(long line, String column, String condition, Object... args); static IFilter regexFilter(long line, String column, String condition, Object... args); static IFilter filter(long line, String column, String condition, Object... args); static IFilter countFilter(long line, String column, String condition, Object... args); static Object stripFilter(Object o); static Object stripFilter(Object o, boolean dontFailOnFilter); static String removeUtilityCall(CharSequence condition);  }### Answer:
@Test public void testRegexFilterPositive() { IFilter filter = StaticUtil.regexFilter(0, null, "^Test.*"); Assert.assertEquals(ExpressionResult.EXPRESSION_RESULT_TRUE, filter.validate("TestRegExp")); filter = StaticUtil.regexFilter(0, null, "^[A-Za-z]{1,20}$"); Assert.assertEquals(ExpressionResult.EXPRESSION_RESULT_TRUE, filter.validate("TestRegExp")); filter = StaticUtil.regexFilter(0, null, "^[\\-0-9]{0,5}$"); Assert.assertEquals(ExpressionResult.EXPRESSION_RESULT_TRUE, filter.validate("-30")); Assert.assertEquals(ExpressionResult.EXPRESSION_RESULT_TRUE, filter.validate("00203")); }