mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Simplify the email regexp
This commit is contained in:
@@ -140,7 +140,7 @@ define([
|
|||||||
numericRegex : /^[0-9]+$/,
|
numericRegex : /^[0-9]+$/,
|
||||||
integerRegex : /^\-?[0-9]+$/,
|
integerRegex : /^\-?[0-9]+$/,
|
||||||
decimalRegex : /^\-?[0-9]*\.?[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,
|
alphaRegex : /^[a-z]+$/i,
|
||||||
alphaNumericRegex : /^[a-z0-9]+$/i,
|
alphaNumericRegex : /^[a-z0-9]+$/i,
|
||||||
alphaDashRegex : /^[a-z0-9_\-]+$/i,
|
alphaDashRegex : /^[a-z0-9_\-]+$/i,
|
||||||
|
Reference in New Issue
Block a user