Stefan de Vogelaere

Typo in isEmail

@@ -78,7 +78,7 @@ class GetUtils { @@ -78,7 +78,7 @@ class GetUtils {
78 static bool isURL(String s) => RegexValidation.hasMatch(s, regex.url); 78 static bool isURL(String s) => RegexValidation.hasMatch(s, regex.url);
79 79
80 /// Checks if string is email. 80 /// Checks if string is email.
81 - static bool isEmail(String s) => RegexValidation.hasMatch(s, regex.txt); 81 + static bool isEmail(String s) => RegexValidation.hasMatch(s, regex.email);
82 82
83 /// Checks if string is phone number. 83 /// Checks if string is phone number.
84 static bool isPhoneNumber(String s) => 84 static bool isPhoneNumber(String s) =>