Extend regexp of validator for AbstractProductAttribute.code...

 to allow hyphens.