fixed syntax regex for contexts and projects