|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: tic-tac-toe regex golf (bug)by barrachois (Pilgrim) |
| on Nov 18, 2003 at 12:11 UTC ( [id://308042]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Yes, thank you. 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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||