Much better support for frontend field validation

This commit is contained in:
garronej
2021-10-25 21:26:08 +02:00
parent 92fb3b7529
commit 3aad681538
11 changed files with 780 additions and 204 deletions

View File

@ -0,0 +1,2 @@
export const emailRegexp =
/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;