def testValidRegexp(self):

    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)
    self.failUnlessEqual(str(result), "[['f'], ['fo'], ['foo']]")
RegexObjects uncopyable in Python 2.6.
dataset/ETHPy150Open google/textfsm/textfsm_test.py/UnitTestFSM.testValidRegexp