Class MatcherShouldMatch

    • Constructor Detail

      • MatcherShouldMatch

        private MatcherShouldMatch​(java.util.regex.Matcher matcher)
    • Method Detail

      • shouldMatch

        public static MatcherShouldMatch shouldMatch​(java.util.regex.Matcher matcher)
        Indicates that the provided Matcher should match.
        Parameters:
        matcher - the actual Matcher to test.
        Returns:
        an error message factory.