Adding support for HTML5 "pattern" attribute in form input fields.