diff --git a/SchengenVisaApi/ApplicationLayer/Constants.cs b/SchengenVisaApi/ApplicationLayer/Constants.cs index aa8dc09..0ac909b 100644 --- a/SchengenVisaApi/ApplicationLayer/Constants.cs +++ b/SchengenVisaApi/ApplicationLayer/Constants.cs @@ -4,9 +4,9 @@ namespace ApplicationLayer; public static class Constants { - public readonly static Regex EnglishWordRegex = new("^[a-zA-Z]*$"); + public readonly static Regex EnglishWordRegex = new("^[a-zA-Z']*$"); 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}$"); -} \ No newline at end of file +}