diff --git a/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs b/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs index b01ecb95f..09925900b 100644 --- a/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs +++ b/src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs @@ -99,7 +99,7 @@ public sealed class RegexPatterns /// /// 负整数正则匹配 /// - public const string NIntPattern = @"^-[1-9]\d*$ "; + public const string NIntPattern = @"^-[1-9]\d*$"; /// /// 整数正则匹配