mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Simplify the email regexp
This commit is contained in:
@@ -140,7 +140,7 @@ define([
|
||||
numericRegex : /^[0-9]+$/,
|
||||
integerRegex : /^\-?[0-9]+$/,
|
||||
decimalRegex : /^\-?[0-9]*\.?[0-9]+$/,
|
||||
emailRegex : /^[a-zA-Z0-9.!#$%&,'*+\-\/=?\^_`{|}~\-]+@[a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*$/,
|
||||
emailRegex : /^[^@]+@[^@]+\.[^@]+$/,
|
||||
alphaRegex : /^[a-z]+$/i,
|
||||
alphaNumericRegex : /^[a-z0-9]+$/i,
|
||||
alphaDashRegex : /^[a-z0-9_\-]+$/i,
|
||||
|
Reference in New Issue
Block a user