add files

This commit is contained in:
niederwerfee committed 2026-11-10 16:10:12 -06:00
1 parent 293e4364ed
commit 515dd5a62c
108 files changed
+103859

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
export class evalidator {
validateEmailRegex(email) {
return String(email)
.toLowerCase()
.match(
/^(([^<>()[\]\\.,;:\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,}))$/
);
};
validateEmailLength(email) {
return Array.from(email).length > 5 && Array.from(email).length < 101;
}
}
export class pvalidator {
validatePasswordLength(password) {
return Array.from(password).length > 5 && Array.from(password).length < 129;
}
}