Fixed regex for $CAPS_VARIABLES