code: def from_string(address):
  		
  		str_address = None
  
  		if WMACAddress.re_dash_format.match(address):
  			str_address = "".join(address.split("-"))
  		elif WMACAddress.re_colon_format.match(address):
  			str_address = "".join(address.split(":"))
  		elif WMACAddress.re_cisco_format.match(address):
  			str_address = "".join(address.split("."))
  		elif WMACAddress.re_spaceless_format.match(address):
  			str_address = address
  
  		if str_address is None:
  			raise ValueError("Invalid MAC address format: " + address)
  
  		result = WMACAddress()
  		for octet_index in range(WMACAddress.octet_count):
  			octet = str_address[:2]
  			result.__address[octet_index] = int(octet, 16)
  			str_address = str_address[2:]
  
  		return result
docs: Return new object by the given MAC-address
  
  		:param address: address to convert
  		:return: WMACAddress