Extended regex to support dots in project and projectoptions