The regex used took too long to complete with large inputs that can appear when the user has a corrupted config.