|
@@ -15,8 +15,8 @@ module.exports = {
|
|
|
"codePost": /^(((?!(96|97|98|99|00)))[0-9]{5})$|(2A|2B|2a|2b)[0-9]{3}$|(971|972|973|974|975|976)[0-9]{2}$/,
|
|
|
"codePostal": /^(((?!(96|97|98|99|00)))[0-9]{5})$|(2A|2B|2a|2b)[0-9]{3}$|(971|972|973|974|975|976)[0-9]{2}$/,
|
|
|
"time": /^([1-9]|1[0-9]):([0-5][0-9])(\s[a|p]m)$/,
|
|
|
- "price": /^\d+(\.\d{2})?$/,
|
|
|
- "prix": /^\d+(\.\d{2})?$/,
|
|
|
+ "price": /^\d+(\.\d{1,2})?$/,
|
|
|
+ "prix": /^\d+(\.\d{1,2})?$/,
|
|
|
"date": /^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/,
|
|
|
"tva": /^(5\.5|10|20)$/,
|
|
|
"password": /(?=^.{8,}$)(?=.*\d)(?=.*[!@#$%^&*]+)(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/,
|