def _regexp_path(name, *names):
 return os.path.join(name, *names).replace('\\', '\\\\')

def _regexp_path ( name , * names ) : return os . path . join ( name , * names ) . replace ( '\\' , '\\\\' )
join two or more path components and create a regexp that will match that path .