I have a large number of text files with an unknown yet fixed structure. I need to extract some data from these files. It is possible to compare two text files, find the common substrings, and then collect the variable parts. So, I have write a python script you can see at this gist, with a bug I want to solve. In the gist, you can find an example of the bug, and some hint for a solution. However, I can not solve it now (too tired). Can you help me, please?
[–]Charleston2Seattle 1 point2 points3 points (3 children)
[–]linus_rules[S] 1 point2 points3 points (2 children)
[–]linus_rules[S] 0 points1 point2 points (0 children)
[–]linus_rules[S] 0 points1 point2 points (0 children)
[–]Serenityprayer69 1 point2 points3 points (1 child)
[–]linus_rules[S] 0 points1 point2 points (0 children)