public boolean matches(String comment) {
        for (String escapedMatcher : escapeMatchers()) {
            Pattern pattern = Pattern.compile(String.join(escapedMatcher, "\\B", "\\B|\\b", "\\b"));
            if (pattern.matcher(comment).find()) {
                return true;
            }
        }
        return false;
    }
@Test
    void shouldMatchWordBoundaries() throws Exception {
        assertThat(new Matcher("!!").matches("!!")).isTrue();
        assertThat(new Matcher("ja").matches(" ja")).isTrue();
        assertThat(new Matcher("ja").matches("ja ")).isTrue();
        assertThat(new Matcher("ja").matches(" ja")).isTrue();
        assertThat(new Matcher("ja").matches("ja:")).isTrue();
        assertThat(new Matcher("go-cd-dev@googlegroups.com").matches("[go-cd-dev@googlegroups.com] i checkin")).isTrue();
        assertThat(new Matcher("ja").matches("ja&jh")).isTrue();
    }