* @param regex whether the token is a regular expression or not
* @param group to group by number of parts
* @return the builder to continue processing the DSL
*/
public T tokenize(String token, String headerName, boolean regex, int group) {
TokenizerExpression expression = new TokenizerExpression();
expression.setToken(token);
expression.setHeaderName(headerName);
expression.setRegex(regex);
expression.setGroup(group);
setExpressionType(expression);
return result;
}