Grep in 2 dimensions

For testing another module, I needed the ability to grep in 2 dimensions, hence this module. This module can grep forwards, backwards, up, down, and diagonally in a given text string. Given the text: THIST T S .H H H II ..I II SIHTH ...SS T T We can find all occurances of THIS. Full Perl regexp is allowed, with a few limitations. Unlike regular grep, you get back (for each match) an array containing array references with the following contents: [$length, $x, $y, $dx, $dy, ??] Operational note: there is one more argument at the end of the returned array reference (as indicated by ??). Don't mess with this. It's reserved for future use.

There is no official package available for openSUSE Leap 15.1


openSUSE Tumbleweed