Fix anchors in media query regex

Fixes #34