lt
        resultidx: index of the result in success
        matchidx: if there is more than one match info with that name, which one to return, if no name, ignored
        silent_fail: if True, return None, if False, raise an exception if the match info is not present

    Returns:
        the span or None if no Span exists
    &#34;&#34;&#34;
    if resultidx &gt;= len(succ):
        if not silent_fail:
            raise Exception(f&#34;No resultidx {resultidx}, only {len(succ)} results&#34;)
        retu