def _validate_string(self, text):
    if not re.match(tokenize.Name, text):
      raise ValueError('%s should only contain ascii letters or digits.' %
                       text)
Validates a string is composed of valid characters.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/file_format_parser.py/_Parser._validate_string