I wanna match ordinal binary numbers from 0 to 15, these numbers are written in a consecutive manner (no spaces between actually):
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
I need a very short way of using expressions to achieve this and it should match it as it is! I mean the matching domain! nothing more! I don't want to match a similar one:
0000 0010 0001 0011 0100 0110 0101 0111 1000 1001 1010 1011 1100 1101 1110 1111
Which I tried is ((00)[01]{2}){4}((01)[01]{2}){4}((10)[01]{2}){4}((11)[01]{2}){4}
I know that it's not accurate thus I asked it here.