org.infinitest.toolkit
Class RegexMatcher
java.lang.Object
org.hamcrest.BaseMatcher<String>
org.infinitest.toolkit.RegexMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<String>, org.hamcrest.SelfDescribing
public class RegexMatcher
- extends org.hamcrest.BaseMatcher<String>
Hamcrest matcher that verifies that strings match regular
expressions.
- Author:
- Paul Holser
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
matches
public boolean matches(Object toMatch)
describeTo
public void describeTo(org.hamcrest.Description description)
matchesRegex
public static org.hamcrest.Matcher<String> matchesRegex(String regex)
© Copyright 2009 Paul R. Holser, Jr. All rights reserved. pholser@alumni.rice.edu