Some regex changes
This commit is contained in:
parent
f0662ee1d9
commit
45b2f56aaf
|
|
@ -7,7 +7,7 @@ using System.Text.RegularExpressions;
|
|||
namespace NejCommon.Validation;
|
||||
|
||||
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"){
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user