1 2 3
<!-- include start from constraint/host-name.xml.i --> <regex>[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9]</regex> <!-- include end -->