Updating regex to allow capturing of css blocks.