Returns a matcher that matches any character matched by both this matcher and other.
(CharMatcher other)
| 519 | |
| 520 | |
| 521 | public CharMatcher and(CharMatcher other) { |
| 522 | return new And(this, other); |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * Returns a matcher that matches any character matched by either this matcher or {@code other}. |