A knight has eight moves, but only four are "forward", which is desired for the regexes.
move gap S E.. 1 S.. E 5 S . E. 6 S . .E 8
In reply to Re^3: [code challenge] knights move
by Anonymous Monk
in thread [code challenge] knights move
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |