def split_interface(intf_name):
head = intf_name.rstrip(r"<STR_LIT>")<EOL>tail = intf_name[len(head) :].lstrip()<EOL>return (head, tail)<EOL>
Split an interface name based on first digit, slash, or space match.