Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -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) => |
-
Please register or login to post a comment