void (String expression) { if (StringUtil.isEmptyOrSpaces(expression)) throw new InvalidExpressionException("expression == null or empty"); expression = substituteMacrosWithRegexps(expression); Pattern.compile(expression, Pattern.MULTILINE); }