That may be a viable way. How would the regexp() attribute be handled? Validate the new expression from above by default (i.e. if ".*" is not overridden") and if it is specified by the user validated that one? And we'd also "manually" validate the other attributes of the constraint?
|