That was just pointed out to me by someone else as well, and I've put an addendum and correction into the original post accordingly.
Following Dave's suggestion to use \w instead of X|O, the shortest I'm currently aware of is this 57 char regex which lists out the two .{2,3} cases explicitly.
^(...)*(\w)\2\2|^..(\w).\3.\3|(\w)..\4..\4|(\w)...\5...\5
In reply to Re: Re: tic-tac-toe regex golf (bug)
by barrachois
in thread tic-tac-toe regex golf
by barrachois
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |