Ad
  • Default User Avatar

    I was looking to see if anyone else would take a regex approach. Cheers. Is there a reason you use .{3}(1){3}.{3} (14 characters) instead of simply ...111... (9 characters), or .(1)..(1)..(1). (15 characters) instead of .1..1..1 (9 characters), etc? I think the shorter expression is just as explicit and significantly more readable in addition to being shorter. Am I missing something?