in reply to Re: Re: tic-tac-toe regex golf (bug)
in thread tic-tac-toe regex golf

Sometimes it helps to anchor from the other side:
(\w)(..(\1|.\1.)..\1|.\1.\1..$|\1\1(...)*$)
This 43 also gets rid of all those ugly different digits, in favor of pleasing uniformity :)