13 lines
355 B
C#
13 lines
355 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Numerics;
|
|
using System.Text;
|
|
using System.Text.RegularExpressions;
|
|
|
|
namespace NejCommon.Validation;
|
|
|
|
public class StandardTextAttribute : RegexAttribute{
|
|
public StandardTextAttribute() : base(@"\A(?:[^\p{Cc}]|[\r\n\t])*\z","Příliš žlouťoučký kůň úpěl 2 ďábelské ódy"){
|
|
|
|
}
|
|
} |