Skip to content

Commit

Permalink
Merge pull request #1224 from infchaos/fixbug_remove_extra_whitespace…
Browse files Browse the repository at this point in the history
…_in_regex

remove extra whitespace char in RegexPatterns.NIntPattern
  • Loading branch information
NaBian authored Jul 28, 2022
2 parents 8de36db + a1a47f3 commit 9371513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shared/HandyControl_Shared/Tools/RegexPatterns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public sealed class RegexPatterns
/// <summary>
/// 负整数正则匹配
/// </summary>
public const string NIntPattern = @"^-[1-9]\d*$ ";
public const string NIntPattern = @"^-[1-9]\d*$";

/// <summary>
/// 整数正则匹配
Expand Down

0 comments on commit 9371513

Please sign in to comment.