Fix number validator

The validator did not register if no options, e.g. min max etc. where provided
Fix regexp validator

The pattern cannot include the beginning and ending delimiter, e.g. "/",  for the js validation to work, but php needs them. So before running php validations, just prepend and append the delimiter.
Merge branch 'hotfix/2.3.3'