>>106005056
>the others are retarded. Don't use regex. Don't compute anything.
Fun fact, python's regex implementation optimizes char classes like that really heavily, provided you don't run compile a lot, you'll likely end up with a DFA about as fast as the in keyword