case '~': // Match one of space seperated words
                    checkFunction = function (e) {
                        return (e.getAttribute(attrName).match(new RegExp('\\b' + attrValue + '\\b')));
                    };
                    break;