def validating_string_param(registry, xml_parent, data):
 pdef = base_param(registry, xml_parent, data, True, 'hudson.plugins.validating__string__parameter.ValidatingStringParameterDefinition')
 XML.SubElement(pdef, 'regex').text = data['regex']
 XML.SubElement(pdef, 'failedValidationMessage').text = data['msg']

def validating_string_param ( registry , xml_parent , data ) : pdef = base_param ( registry , xml_parent , data , True , 'hudson.plugins.validating__string__parameter.ValidatingStringParameterDefinition' ) XML . SubElement ( pdef , 'regex' ) . text = data [ 'regex' ] XML . SubElement ( pdef , 'failedValidationMessage' ) . text = data [ 'msg' ]
yaml: validating-string a validating string parameter requires the jenkins :jenkins-wiki:validating string plugin <validating+string+parameter+plugin> .