Whether or not the pattern has to match the entire string or any part of it. For
example, the pattern \s+def
only partially matches abc def
; the leading abc
will fail the match if partialMatchAllowed is false. This reflects the difference
between java.util.regex.Matcher.find and java.util.regex.Matcher.matches.
A generator function for producing com.wix.accord.Failures if validation fails.
A generator function for producing com.wix.accord.Failures if validation fails. The helper methods in com.wix.accord.ViolationBuilder can be used to simplify this task.
The predicate that determines whether or not validation is successful.
The predicate that determines whether or not validation is successful.
A validator that succeeds only if the provided string matches the specified pattern.