Some regex changes

This commit is contained in:
honzapatCZ 2026-10-25 23:48:49 +01:00
parent f0662ee1d9
commit 45b2f56aaf

View File

@ -7,7 +7,7 @@ using System.Text.RegularExpressions;
namespace NejCommon.Validation; namespace NejCommon.Validation;
public class IdentifierTextAttribute : RegexAttribute{ public class IdentifierTextAttribute : RegexAttribute{
public IdentifierTextAttribute() : base("^[a-zA-Z0-9_-]+$","Aa_bb-123"){ public IdentifierTextAttribute() : base("^[a-zA-Z0-9._-]+$","Aa_bb-12.3"){
} }
} }