@@ -0,0 +1,554 @@
+package uk.ac.ebi.atlas.utils;%0A%0Aimport org.hamcrest.BaseMatcher;%0Aimport org.hamcrest.Description;%0A%0Apublic class RegexMatcher extends BaseMatcher %7B%0A    private final String regex;%0A%0A    public RegexMatcher(String regex)%7B%0A        this.regex = regex;%0A    %7D%0A%0A    public boolean matches(Object o)%7B%0A        return ((String)o).matches(regex);%0A%0A    %7D%0A%0A    public void describeTo(Description description)%7B%0A        description.appendText(%22matches regex=%22);%0A    %7D%0A%0A    public static RegexMatcher matches(String regex)%7B%0A        return new RegexMatcher(regex);%0A    %7D%0A%7D

Add a regex matcher to use with assertThat