regcomp.c: Convert \d \D to a switch{}