4 ms·
Powers: ^((((((((((x)\10?)\9?)\8?)\7?)\6?)\5?)\4?)\3?)\2?)\1?$ I feel like there's gotta be a sneakier way of doing this.
by ryanthejuggler 13y ago
Powers:
^((((((((((x)\10?)\9?)\8?)\7?)\6?)\5?)\4?)\3?)\2?)\1?$
I feel like there's gotta be a sneakier way of doing this.
- rplnt 13y agoMine is a bit shorter, though a bit more "meh" as well. ^x{32}$|^(x{2}){1,8}$|^(x{64})+$|^x$
- galen_tyrol 13y agoimproved, gives 80 ^(x|(xx){1,9}|x{32}|(x{64})+)$
- rplnt 13y agoI tried to get rid of those redundant ^ and $ but it somehow didn't work. I probably forgot to put it all inside one group.
- danielweber 13y agoI was working on this pattern: ^(x{1,2}){1,2}$ But it wedged my browser as I started adding more terms. :/
- delluminatus 13y ago58 points: ^x$|^(x+)\1$
- XaspR8d 13y agoCompletely not sneaky at all, but does reasonably well at 71 points: ^(x|xx|xxxx|x{8}|x{16}|x{32}|(x{64})+)$
- cleaver 13y agoI did similarly, but managed to squeeze out a few more points: ^(((((((((xx?)\9?)\8?)\7?)\6?)\5?)\4?)\3?)\2?)\1?$ (60 points)
- deleted 13y ago[deleted]
- willchang 13y agoA non-cheating solution, 79 points. ^((xx?|xxxx)(\2{7})?)(\1{63})?$