@Test
public void testInvalidRegex() {

	MatchFunction matchFunction = new MatchFunction();
	Boolean result = matchFunction.apply(
		"test@liferay", "\\\\S+[@\\S+\\.\\S+");
	Assert.assertFalse(result);
}