Module Creator all punctuation in description

Modified the Regex to all punctuation in the description.
This commit is contained in:
Leigh Pointer 2023-10-13 11:50:00 +02:00
parent acf71cc2c2
commit 75fc318da0

View File

@ -156,7 +156,7 @@
private bool IsValidXML(string description)
{
// must contain letters, digits, or spaces
return Regex.IsMatch(description, "^[A-Za-z0-9 ]+$");
return Regex.IsMatch(description, "^[A-Za-z0-9 .,!?]+$");
}
private void TemplateChanged(ChangeEventArgs e)