docs: def __substitute_replace_pairs(self):
          """
          Substitutes all replace pairs in the source of the stored routine.
          """
          self._set_magic_constants()
  
          routine_source = []
          i = 0
          for line in self._routine_source_code_lines:
              self._replace['__LINE__'] = "'%d'" % (i + 1)
              for search, replace in self._replace.items():
                  tmp = re.findall(search, line, re.IGNORECASE)
                  if tmp:
                      line = line.replace(tmp[0], replace)
              routine_source.append(line)
              i += 1
  
          self._routine_source_code = "\n".join(routine_source)