summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-description.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
-rw-r--r--interface-definitions/include/generic-description.xml.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index b54897be4..b030c2495 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -7,8 +7,9 @@
<description>Description</description>
</valueHelp>
<constraint>
- <regex>[a-zA-Z0-9_\-\s]+</regex>
+ <regex>[[:ascii:]]{1,256}</regex>
</constraint>
+ <constraintErrorMessage>Description too long (limit 256 characters)</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->