The regex used was explosive and wouldn't complete with large inputs that can appear when the user has a mildly corrupted config