Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: tic-tac-toe regex golf (bug)

by Anonymous Monk
on Nov 20, 2003 at 00:41 UTC ( [id://308459]=note: print w/replies, xml ) Need Help??


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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://308459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found