def matchPreviousExpr(expr):
    rep = Forward()
    e2 = expr.copy()
    rep <<= e2
    def copyTokenToRepeater(s,l,t):
        matchTokens = _flatten(t.asList())
        def mustMatchTheseTokens(s,l,t):
            theseTokens = _flatten(t.asList())
            if  theseTokens != matchTokens:
                raise ParseException("",0,"")
        rep.setParseAction( mustMatchTheseTokens, callDuringTry=True )
    expr.addParseAction(copyTokenToRepeater, callDuringTry=True)
    rep.setName('(prev) ' + _ustr(expr))
    return rep
Load the data and return a Dataset class instance.
dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/matchPreviousExpr--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/datasets/template_data.py/load