added xIsMatch and xNotMatch, and tests.