Class RegexMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<String>,org.hamcrest.SelfDescribing
Matcher that supports regular expression and allows to provide optional flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(org.hamcrest.Description description) static RegexMatcherstatic RegexMatcherprotected booleanmatchesSafely(String item) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
RegexMatcher
-
RegexMatcher
-
-
Method Details
-
matchesSafely
-
describeTo
public void describeTo(org.hamcrest.Description description) -
matches
-
matches
-