still not correct regex for standard text

This commit is contained in:
honzapatCZ 2025-10-11 10:38:46 +02:00
parent 66ed9fcfe3
commit bd3a0dcadf

View File

@ -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(@"^[a-zA-Z0-9\-_,. ]*$","Aa bb_123-145"){
} }
} }