hi.. im parsing the text file containing the details of the testcases failed.From the file i wanted to obtain only the testcase names and enter them in the excel sheet.
the pattern of the text file is: FILE : NW_PTH_TFG6_SCEN_4_2_FIFO.c, LINE : 240 TEST FAIL to get entire: 32768 bytes NW_PTH_TFG6_SCEN_4_2_FIFO.c 340 DATA NOT MATCHING, TEST FAIL TEST FAIL SYSCALL_TEST_SCEN_4_1_ALL.c at line 355 FILE:US_TFG7_SCEN_4_1.c,LINE:189, Server side TEST FAIL FAIL BREW_SCEN_4_1.c 219: can't mount FAIL BREW_SCEN_4_1.c 121: can't umount << BREW_SCEN_4_1.c TEST FAIL errno:No such file or directory >> << BREW_SCEN_4_1.c TEST FAIL >> error:Invalid argument i used the ' re module' and its function partition,but im facing problem in obtaining only the testcase names.. if anyone know the answer please help me.. Thanks for ur help. -- http://mail.python.org/mailman/listinfo/python-list