m{ (?| (.)\1\1(.)\1\1 |(.)\1\1... |.(.)\1\1.. |..(.)\1\1. |...(.)\1\1 ){4} ## 6 x 4 }x;
Generating (and testing) this regex left up to the OP (hopefully you can see the relation between the various numbers)
In reply to Re^2: Regex matching on grid alignment
by Anonymous Monk
in thread Regex matching on grid alignment
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |