def symptom_invalid_password_regular_expression():
 try:
  if CONF.security_compliance.password_regex:
   re.match(CONF.security_compliance.password_regex, 'password')
  return False
 except re.error:
  return True

def symptom_invalid_password_regular_expression ( ) : try : if CONF . security_compliance . password_regex : re . match ( CONF . security_compliance . password_regex , 'password' ) return False except re . error : return True
invalid password regular expression .