You could just use `name.include?('Project')` here.
I would refrain from using regular expression unless you are actually in need of their features.