796
if (
797
backwardsDiagLength > 1 // only if we would have a contiguous match of 3 characters
798
>
&& patternLow[patternStart + row - 1] === wordLow[wordStart + column - 1] // only if we can do a contiguous match diagonally
filters.ts
799
>
&& !isUpperCaseAtPos(diagColumn + wordStart - 1, word, wordLow) // only if the forwards chose diagonal is not an uppercase
800
>
&& backwardsDiagLength + 1 > _diag[row][diagColumn] // only if our contiguous match would be longer than the "forwards" contiguous match
801
) {
803
>
}
804
805
if (diagColumn === column) {