Class RegexPredicate

    • Field Detail

      • pattern

        @Nonnull
        private Pattern pattern
        Regular expression.
    • Constructor Detail

      • RegexPredicate

        public RegexPredicate​(@Nonnull
                              Pattern p)
        Pattern constructor.
        Parameters:
        p - the pattern to match the input against
      • RegexPredicate

        public RegexPredicate​(@Nonnull @NotEmpty
                              String s)
        String constructor.
        Parameters:
        s - the pattern to match the input against