handling backslashes in attribute selectors