in reply to RE: Fun Regex Exercise
in thread Fun Regex Exercise

This is better!
/^[01]$|^([01])[01]*?\1$/
ciao

Replies are listed 'Best First'.
Re^3: Fun Regex Exercise
by Anonymous Monk on Oct 16, 2010 at 13:53 UTC
    What a bunch of monks