4 ms·
improved, gives 80 ^(x|(xx){1,9}|x{32}|(x{64})+)$
by galen_tyrol 13y ago
improved, 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.