A regular expression pattern constraint. Syntax is:
<column regex="regex-pattern"/>
Or:
<column>
<regex pattern="regex-pattern" [message="error-message"] >
</column>
Note: this constraint is not meant to replace an internal SQL constraint clause in the database,
since it cannot be made sure that complex updates will respect this constraint.
author: Claude Brisson |