validate pattern bindings