tests and fixes

This commit is contained in:
2025-05-11 18:28:33 +03:00
parent 6ab5b9f1df
commit 07f5663c75
8 changed files with 120 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ public static class Constants
{
public readonly static Regex EnglishWordRegex = new("^[a-zA-Z']*$");
public readonly static Regex EnglishPhraseRegex = new(@"^[a-zA-Z №0-9;,\-_+=#*']*$");
public readonly static Regex EnglishPhraseRegex = new("""^[a-zA-Z №0-9;,\-_+=#*'\"]*$""");
public readonly static Regex PhoneNumRegex = new(@"^[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}$");
}