def NAMED(n, e):
    """
    Puts the expression in a named-group

    :param:

     - `n`: the name of the group
     - `e`: regular expression

    :return: named-group
    """
    return "(?P<{n}>{e})".format(n=n, e=e)