Compare commits

..
3 Commits
Author SHA1 Message Date
xrain ef3f1bfa88 fix checkcell regex 2021-09-26 13:11:22 +08:00
xrain 01a2689549 fix ci 2021-07-10 18:39:32 +08:00
xrainandGitHub 916f046789 fix ci 2021-07-10 18:39:02 +08:00
2 changed files with 5 additions and 2 deletions
@@ -1,6 +1,9 @@
name: PublishNugetPackage
on: [create]
on:
push:
tags:
- '*'
jobs:
publish:
+1 -1
View File
@@ -13,7 +13,7 @@ namespace SimApi.Helpers
/// <returns></returns>
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);
}