@@ -0,0 +1,820 @@
+package retromock.matchers;%0A%0Aimport org.hamcrest.Description;%0Aimport org.hamcrest.TypeSafeDiagnosingMatcher;%0A%0Aimport java.util.regex.Pattern;%0A%0Apublic class IsRegex extends TypeSafeDiagnosingMatcher%3CString%3E %7B%0A%0A    private final Pattern pattern;%0A%0A    public static IsRegex matchesRegex(String regex) %7B%0A        return new IsRegex(Pattern.compile(regex));%0A    %7D%0A%0A    public IsRegex(Pattern pattern) %7B%0A        this.pattern = pattern;%0A    %7D%0A%0A    @Override%0A    protected boolean matchesSafely(String item, Description mismatchDescription) %7B%0A        return pattern.matcher(item).matches();%0A    %7D%0A%0A    @Override%0A    public void describeTo(Description description) %7B%0A        description%0A                .appendText(%22a string matching the pattern '%22)%0A                .appendValue(pattern)%0A                .appendText(%22'%22);%0A    %7D%0A%7D%0A

add regex matcher