+ # Check the string name is the upper character\r
+ if not self.IsCompatibleMode and Name != '':\r
+ MatchString = re.match('[A-Z0-9_]+', Name, re.UNICODE)\r
+ if MatchString == None or MatchString.end(0) != len(Name):\r
+ EdkLogger.error('Unicode File Parser', FORMAT_INVALID, 'The string token name %s defined in UNI file %s contains the invalid lower case character.' %(Name, self.File))\r