def match_name(s, l):
	""" Return if s matches l, where s can include wildcards '*'."""
	assert(isinstance(s,str))
	assert(isinstance(l,str))
		
	spl = s.split('*')
	if not l.find(spl[0])==0:
		return False
		
	start = len(spl[0])
	for si in spl[1:]:
		idx = l.find(si,start)
		if idx<0:
			return False
		else:
			start = idx + len(si)
			
	return start==len(l) or spl[-1]==''