diff --git a/lib/screens/githostsetup_clone_url.dart b/lib/screens/githostsetup_clone_url.dart index 75e857f0..56c2e92a 100644 --- a/lib/screens/githostsetup_clone_url.dart +++ b/lib/screens/githostsetup_clone_url.dart @@ -58,7 +58,7 @@ class GitCloneUrlPageState extends State { return 'Only SSH urls are currently accepted'; } - RegExp regExp = RegExp(r"[a-zA-Z0-9.]+@[a-zA-Z0-9.]+:.+"); + RegExp regExp = RegExp(r"[a-zA-Z0-9.]+@[a-zA-Z0-9.-]+:.+"); if (!regExp.hasMatch(value)) { return "Invalid Input"; }