in reply to Regex matching on grid alignment
x x x x 1 2 3 4 (.) \1 \1 (.) \1 \1
x x x x x x 1 2 3 4 5 6 (.) \1 \1 #r1 (.) \1 \1 #r2 (.) \1 \1 #r3 (.) \1 \1 #r4
6 length - 3 consecutive = 3 leading
...(.)\1\1 ..(.)\1\1. .(.)\1\1.. (.)\1\1... (.)\1\1(.)\1\1
So m{(.)\1\1(.)\1\1 |(.)\1\1... |.(.)\1\1.. |..(.)\1\1. |...(.)\1\1 }x
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex matching on grid alignment
by Anonymous Monk on Sep 08, 2013 at 21:47 UTC | |
by Anonymous Monk on Sep 08, 2013 at 22:56 UTC |