/** * Returns a {@code char} matcher that matches any character except the BMP character specified. * * <p>To negate another {@code CharMatcher}, use {@link #negate()}. */ public static CharMatcher isNot(final char match) { return new IsNot(match); }
@Override public CharMatcher or(CharMatcher other) { return other.matches(match) ? any() : this; }
@Override public CharMatcher negate() { return is(match); }