Overhauled matching algorithm.
Overhauled matching algorithm.

It now correctly handles both TEXT and LINE boxes (ignores them), and
also can handle the case where a single element matches several inline
boxes.

uwplse/Cassius,uwplse/Cassius,uwplse/Cassius,uwplse/Cassius,uwplse/Cassius,uwplse/Cassius