code: def _collect_placeholders_required(
              self):
          
          self.log.info('starting the ``_collect_placeholders_required`` method')
  
          phs = self.settings["frankenstein"]["placeholder delimiters"]
          phsString = "|".join(phs)
  
          matchObject = re.finditer(
              r'(%(phsString)s)([^\s]*?)\1' % locals(),
              string=self.contentString,
              flags=re.S  # re.S
          )
  
          phDict = {}
          for match in matchObject:
              phDict[match.group(2)] = None
  
          self.phDict = phDict
  
          self.log.info(
              'completed the ``_collect_placeholders_required`` method')
          return None
docs: *collect placeholders required from filename etc*