Skip to content

Commit

Permalink
fix: typo in validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan-Nelson committed Nov 10, 2023
1 parent 9496c57 commit f2d2896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final emailRegex = RegExp(r'^\S+@\S+$');
/// The "+" prefix is excluded since validation is performed against the number
/// without the prefix. That is, if the full number is "+1-123-555-7890", the
/// "+1" is dropped prior to validation.
final phoneNumberRegex = RegExp(r'^d+$');
final phoneNumberRegex = RegExp(r'^\d+$');
final _codeRegex = RegExp(r'^\d{6}$');
final _uppercase = RegExp(r'[A-Z]');
final _lowercase = RegExp(r'[a-z]');
Expand Down

0 comments on commit f2d2896

Please sign in to comment.