

def testValidRegexp(self):
    'RegexObjects uncopyable in Python 2.6.'
    tplt = 'Value boo (fo*)\n\nStart\n  ^$boo -> Record\n'
    t = textfsm.TextFSM(cStringIO.StringIO(tplt))
    data = 'f\nfo\nfoo\n'
    result = t.ParseText(data)
    tplt.failUnlessEqual(str(result), "[['f'], ['fo'], ['foo']]")

dataset/ETHPy150Open google/textfsm/textfsm_test.py UnitTestFSM.testValidRegexp/VarMisuse@43/106 `self`->`tplt`