Modified so that it's able to search a person by email.

This commit is contained in:
runeliza 2011-08-17 20:02:21 +00:00
parent ff7cbbe69b
commit f33dd242dd
2 changed files with 8 additions and 4 deletions

View file

@ -94,7 +94,7 @@ public class JSONReconcileServletTest extends AbstractTestClass {
} else {
modStr = inputStr;
}
Pattern regex = Pattern.compile(modStr);
Pattern regex = Pattern.compile(modStr, Pattern.CASE_INSENSITIVE);
Matcher regexMatcher = regex.matcher(resultStr);
Assert.assertTrue(message, regexMatcher.find());
} catch (PatternSyntaxException e) {