Regex and extensions now in config