in reply to Re^2: Search for identical substrings
in thread Search for identical substrings

... but I want "s split" with a hit count of 7, no misses and no holes.

Based on that, I checked that example against my script, and found that I needed to call "end_match()" after "travers_sequence()" was done, in case a match exends to the end of both strings.

With that update, the script does what you want in this case. (But for the other sample data you posted above, I think it doesn't come up with the best answer in some cases, and I don't understand why, as yet.)