Validates expressions passed as arguments for @Pattern parameters and values returned from @Pattern-annotated methods.