
def gateway(arg):
	"""Return a regex that captures gateway name"""
	assert isinstance(arg, str)
	return r"(?P<%s>[\w_\-@\' \.]+)" % (arg,)

def device(arg):
	"""Return a regex that captures device name"""
	assert isinstance(arg, str)
	return r"(?P<%s>[\w_\-@\' \.]+)" % (arg,)

ba43a786fd7e4bb9f8bec38bf0fae940e21ae359
<mask token>

def gateway(arg):
    """Return a regex that captures gateway name"""
    assert isinstance(arg, str)
    return "(?P<%s>[\\w_\\-@\\' \\.]+)" % (arg,)


<mask token>

def gateway(arg):
    """Return a regex that captures gateway name"""
    assert isinstance(arg, str)
    return "(?P<%s>[\\w_\\-@\\' \\.]+)" % (arg,)


def device(arg):
    """Return a regex that captures device name"""
    assert isinstance(arg, str)
    return "(?P<%s>[\\w_\\-@\\' \\.]+)" % (arg,)


def gateway(arg):
	"""Return a regex that captures gateway name"""
	assert isinstance(arg, str)
	return r"(?P<%s>[\w_\-@\' \.]+)" % (arg,)

def device(arg):
	"""Return a regex that captures device name"""
	assert isinstance(arg, str)
	return r"(?P<%s>[\w_\-@\' \.]+)" % (arg,)
