You are sort of mixing apples and oranges.
A switching regulator typically uses some form of PWM to regulate the voltage.
The regulator includes other functions, such a feedback loop compensation, soft-start, and current limiting.
PWM is a technique used to vary the average DC voltage to many things, such as DC motors, heaters, and lamps.
A PWM controller may run closed-loop or open-loop (no feedback).
So a switching regulator is a specific application of using the general PWM technique.