/** * Creates a StringMatcher for the given regular expression, which is a * an optionally negated simple expression. */ private StringMatcher parseEntry(String regularExpression) { // Wrap the matcher if the regular expression starts with a '!' negator. return isNegated(regularExpression) ? new NotMatcher(stringParser.parse(regularExpression.substring(1))) : stringParser.parse(regularExpression); }
/** * Creates a StringMatcher for the given regular expression, which is a * an optionally negated simple expression. */ private StringMatcher parseEntry(String regularExpression) { // Wrap the matcher if the regular expression starts with a '!' negator. return isNegated(regularExpression) ? new NotMatcher(stringParser.parse(regularExpression.substring(1))) : stringParser.parse(regularExpression); }
/** * Creates a StringMatcher for the given regular expression, which is a * an optionally negated simple expression. */ private StringMatcher parseEntry(String regularExpression) { // Wrap the matcher if the regular expression starts with a '!' negator. return isNegated(regularExpression) ? new NotMatcher(stringParser.parse(regularExpression.substring(1))) : stringParser.parse(regularExpression); }
/** * Creates a StringMatcher for the given regular expression, which is a * an optionally negated simple expression. */ private StringMatcher parseEntry(String regularExpression) { // Wrap the matcher if the regular expression starts with a '!' negator. return isNegated(regularExpression) ? new NotMatcher(stringParser.parse(regularExpression.substring(1))) : stringParser.parse(regularExpression); }