[PLAT-4734] Only match calc config as far as the first slash