From d38e9bc0b4d385162391e9556e7e51e597653e92 Mon Sep 17 00:00:00 2001 From: honzapatCZ Date: Tue, 30 Jun 2026 14:14:03 +0200 Subject: [PATCH] bit more lenient with normal text --- Validation/StandardTextAttribute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Validation/StandardTextAttribute.cs b/Validation/StandardTextAttribute.cs index c8f96fe..f21daf3 100644 --- a/Validation/StandardTextAttribute.cs +++ b/Validation/StandardTextAttribute.cs @@ -7,7 +7,7 @@ using System.Text.RegularExpressions; namespace NejCommon.Validation; 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"){ } } \ No newline at end of file