Added tooling
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace PostFundManagement.Application.Extensions;
|
||||
|
||||
public partial class Patterns
|
||||
{
|
||||
[GeneratedRegex(@"\s+")]
|
||||
public static partial Regex SpaceRegex();
|
||||
|
||||
[GeneratedRegex(@"\A\b[0-9a-fA-F]+\b\Z", RegexOptions.None, matchTimeoutMilliseconds: 100)]
|
||||
public static partial Regex HexHashRegex { get; }
|
||||
|
||||
[GeneratedRegex(@"\A[0-9a-fA-F]{32}\Z", RegexOptions.None, matchTimeoutMilliseconds: 100)]
|
||||
public static partial Regex Md5Regex { get; }
|
||||
|
||||
[GeneratedRegex(@"\A[0-9a-fA-F]{64}\Z", RegexOptions.None, matchTimeoutMilliseconds: 100)]
|
||||
public static partial Regex Sha256Regex { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user