android/guava/src/com/google/common/base/Predicates.java
@GwtIncompatible(value = "java.util.regex.Pattern")
  public static Predicate<CharSequence> contains(Pattern pattern) {
    return new ContainsPatternPredicate(new JdkPattern(pattern));
  }
@GwtIncompatible(value = "java.util.regex.Pattern")
  public static Predicate<CharSequence> contains(Pattern pattern) {
    return new ContainsPatternPredicate(new JdkPattern(pattern));
  }
Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
contains any match for the given regular expression pattern. The test used is equivalent to
{@code pattern.matcher(arg).find()}

@since 3.0