Explorar o código

modify some notes

CXS %!s(int64=3) %!d(string=hai) anos
pai
achega
9e9ec78b93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      OTSIncAMeasureApp/7-OTSProgMgrInfo/ProgMgrInfoForm.cs

+ 1 - 1
OTSIncAMeasureApp/7-OTSProgMgrInfo/ProgMgrInfoForm.cs

@@ -1289,7 +1289,7 @@ namespace OTSMeasureApp
             string pat = @"^-?[0-9]\d*$";//只能限定正负整数,包含0
             string scope = @"^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])$";
             string PositiveDecimals = @"^(([1-9]\d*)(\.\d+)?)$|^0\.\d*[1-9]$";  //正浮点数
-            string positiveInteger = @"^?[0-9]\d*$";//只能限定正整数,包含0
+            string positiveInteger = @"^?[0-9]\d*$";//只能限定正整数,包含0
             Regex rg = new Regex(pat);
             Regex rgScope = new Regex(scope);
             Regex rgPositiveDecimals = new Regex(PositiveDecimals);