Maximal pair
In computer science, a maximal pair within a string is a pair of matching substrings that are maximal, where "maximal" means that it is not possible to make a longer matching pair by extending the range of both substrings to the left or right.
Wikipedia contributors, "Maximal pair", Wikipedia, revision 1373395723, retrieved 20 November 2026, source, CC BY-SA 4.0.