PRD-4686: Fixed the regex expression so that it runs correctly on the build machine which is case-sensitive