Added ok-regex as a new validation attribute. Also made the tooltip a bit smarter
about how it deals with a lack of validation messages.