parameters: (self, regex, filter_type)
docstring: Append a new filter to the filter list. Filters are useful to ignore
          some misspelled words based on regular expressions.
  
          :param regex: The regex used for filtering.
          :param filter_type: The type of the filter.
  
          Filter Types:
  
          :const:`SpellChecker.FILTER_WORD`: The regex must match the whole word
              you want to filter. The word separation is done by Pango's word
              separation algorithm so, for example, urls won't work here because
              they are split in many words.
  
          :const:`SpellChecker.FILTER_LINE`: If the expression you want to match
              is a single line expression use this type. It should not be an open
              end expression because then the rest of the line with the text you
              want to filter will become correct.
  
          :const:`SpellChecker.FILTER_TEXT`: Use this if you want to filter
             multiline expressions. The regex will be compiled with the
             `re.MULTILINE` flag. Same with open end expressions apply here.
docstring_summary: Append a new filter to the filter list. Filters are useful to ignore
          some misspelled words based on regular expressions.
docstring_tokens: Append a new filter to the filter list . Filters are useful to ignore some misspelled words based on regular expressions .
function: def append_filter(self, regex, filter_type):
          """
          Append a new filter to the filter list. Filters are useful to ignore
          some misspelled words based on regular expressions.
  
          :param regex: The regex used for filtering.
          :param filter_type: The type of the filter.
  
          Filter Types:
  
          :const:`SpellChecker.FILTER_WORD`: The regex must match the whole word
              you want to filter. The word separation is done by Pango's word
              separation algorithm so, for example, urls won't work here because
              they are split in many words.
  
          :const:`SpellChecker.FILTER_LINE`: If the expression you want to match
              is a single line expression use this type. It should not be an open
              end expression because then the rest of the line with the text you
              want to filter will become correct.
  
          :const:`SpellChecker.FILTER_TEXT`: Use this if you want to filter
             multiline expressions. The regex will be compiled with the
             `re.MULTILINE` flag. Same with open end expressions apply here.
          """
          self._filters[filter_type].append(regex)
          if filter_type == SpellChecker.FILTER_TEXT:
              self._regexes[filter_type] = re.compile('|'.join(
                  self._filters[filter_type]), re.MULTILINE)
          else:
              self._regexes[filter_type] = re.compile('|'.join(
                  self._filters[filter_type]))
function_tokens: def append_filter ( self , regex , filter_type ) : self . _filters [ filter_type ] . append ( regex ) if filter_type == SpellChecker . FILTER_TEXT : self . _regexes [ filter_type ] = re . compile ( '|' . join ( self . _filters [ filter_type ] ) , re . MULTILINE ) else : self . _regexes [ filter_type ] = re . compile ( '|' . join ( self . _filters [ filter_type ] ) )