MM-9630

Fix bug whereby improper regex flags were preventing media queries from being properly captured
in some instances.

Possibly release candidate