code: def _processEscapeSequences(replaceText):
      
      def _replaceFunc(escapeMatchObject):
          char = escapeMatchObject.group(0)[1]
          if char in _escapeSequences:
              return _escapeSequences[char]
  
          return escapeMatchObject.group(0)  # no any replacements, return original value
  
      return _seqReplacer.sub(_replaceFunc, replaceText)
docs: Replace symbols like \n \\, etc