regex fix
This commit is contained in:
@@ -4,7 +4,7 @@ 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;,\-_+=#*']*$");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user