Skip to content

Commit 0f1f9ef

Browse files
committed
Update name Regex to allow for more complex names
1 parent 49df29d commit 0f1f9ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Config.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class GeneralConfig : ITomlMetadataProvider
3434
[DataMember(IsRequired = true, Name = "name")]
3535
public string Name { get; set; } = "";
3636

37-
public const string NameValidationRegex = "^[A-Za-z0-9]+$";
37+
public const string NameValidationRegex = "^[A-Za-z0-9\\.\\-_\\+]+$";
3838

3939
[DataMember(Name = "platform")]
4040
public string? Platform { get; set; }

0 commit comments

Comments
 (0)