Change ^ to * to find selector in any position of class attribute

^ only finds selector at beginning of class set instead of any
placement. This helps when there are multiple classes and "grid_" is not
the first.