Modifier and Type | Method and Description |
---|---|
static RegexMatcher |
containsPattern(String regex) |
void |
describeTo(org.hamcrest.Description description) |
static RegexMatcher |
matchesPattern(String regex) |
boolean |
matchesSafely(String string) |
describeMismatch, describeMismatchSafely, matches
public boolean matchesSafely(String string)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<String>
public void describeTo(org.hamcrest.Description description)
public static RegexMatcher containsPattern(String regex)
public static RegexMatcher matchesPattern(String regex)
Copyright © 2003–2016 Atlassian. All rights reserved.