Use tokenized PHP in Customizer settings checks rather than regex.