add attribute-exist-pattern support