Option to display custom error message when an input fields fails the regex expression

Headline:
Option to display custom error message when a text or password input fields fails the regex expression


Description:
Currently the user is notified the value does not match the required pattern and displays the pattern. The end user might not be able to make sense of the regex pattern. It would be useful to be able to display a message explaining the required pattern.


This kind of overlaps with functionality we already have.

On Inputs there are settings for Placeholder and Help Block. Both of these are intended to assist your users with requirements of the field.