An extension of Param that handles extra requirements for strings as inputs
strings must come with a regex used to validate their structure
the error message to show the user if the string is invalid
An extension of Param that handles extra requirements for strings as inputs