code: def validate_symbol(text):
      
  
      match_list = __RE_SYMBOL.findall(preprocess(text))
      if match_list:
          raise InvalidCharError("invalid symbols found: {}".format(match_list))
docs: Verifying whether symbol(s) included in the ``text`` or not.
  
      :param str text: Input text.
      :raises pathvalidate.InvalidCharError:
          If symbol(s) included in the ``text``.