code: def filter_nonspellcheckable_tokens(line, block_out_regexes=None):
      
      all_block_out_regexes = [
          r"[^\s]*:[^\s]*[/\\][^\s]*",
          r"[^\s]*[/\\][^\s]*",
          r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]+\b"
      ] + (block_out_regexes or list())
  
      for block_regex in all_block_out_regexes:
          for marker in re.finditer(block_regex, line):
              spaces = " " * (marker.end() - marker.start())
              line = line[:marker.start()] + spaces + line[marker.end():]
  
      return line
docs: Return line with paths, urls and emails filtered out.
  
      Block out other strings of text matching :block_out_regexes: if passed in.