Ver Fonte

modify some notes

CXS há 3 anos atrás
pai
commit
9e9ec78b93
1 ficheiros alterados com 1 adições e 1 exclusões
  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);