in reply to Re^2: Regex matching on grid alignment
in thread Regex matching on grid alignment

:) perl before 5.10 (before branch reset available ) would need () counting like (.)\1\1(.)\2\2 |(.)\3\3... |.(.)\4\4.. |..(.)\5\5. |...(.)\6\6