fix checkcell regex

This commit is contained in:
2021-09-26 13:11:22 +08:00
parent 01a2689549
commit ef3f1bfa88
+1 -1
View File
@@ -13,7 +13,7 @@ namespace SimApi.Helpers
/// <returns></returns> /// <returns></returns>
public static bool CheckCell(string cell) public static bool CheckCell(string cell)
{ {
var regex = new Regex("^1[34578]\\d{9}$"); var regex = new Regex("^1[3456789]\\d{9}$");
return regex.IsMatch(cell); return regex.IsMatch(cell);
} }