bit more lenient with normal text
This commit is contained in:
parent
3b9ad8a364
commit
d38e9bc0b4
|
|
@ -7,7 +7,7 @@ using System.Text.RegularExpressions;
|
||||||
namespace NejCommon.Validation;
|
namespace NejCommon.Validation;
|
||||||
|
|
||||||
public class StandardTextAttribute : RegexAttribute{
|
public class StandardTextAttribute : RegexAttribute{
|
||||||
public StandardTextAttribute() : base(@"^[a-zA-Z0-9\-_,. ]*$","Aa bb_123-145"){
|
public StandardTextAttribute() : base(@"^[\p{L}\p{N}\-_,. ]*$","Příliš žlouťoučký kůň úpěl 2 ďábelské ódy"){
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user