make regExpression configurable