Use pattern matching in save project