parameters: (self, pattern, anchor=1, prefix=None, is_regex=0)
return_statement: return files_found
docstring: Remove strings (presumably filenames) from 'files' that match
          'pattern'.
  
          Other parameters are the same as for 'include_pattern()', above.
          The list 'self.files' is modified in place. Return 1 if files are
          found.
docstring_summary: Remove strings (presumably filenames) from 'files' that match
          'pattern'.
docstring_tokens: Remove strings ( presumably filenames ) from files that match pattern .
function: def exclude_pattern(self, pattern, anchor=1, prefix=None, is_regex=0):
          """Remove strings (presumably filenames) from 'files' that match
          'pattern'.
  
          Other parameters are the same as for 'include_pattern()', above.
          The list 'self.files' is modified in place. Return 1 if files are
          found.
          """
          files_found = 0
          pattern_re = translate_pattern(pattern, anchor, prefix, is_regex)
          self.debug_print("exclude_pattern: applying regex r'%s'" %
                           pattern_re.pattern)
          for i in range(len(self.files)-1, -1, -1):
              if pattern_re.search(self.files[i]):
                  self.debug_print(" removing " + self.files[i])
                  del self.files[i]
                  files_found = 1
  
          return files_found
function_tokens: def exclude_pattern ( self , pattern , anchor = 1 , prefix = None , is_regex = 0 ) : files_found = 0 pattern_re = translate_pattern ( pattern , anchor , prefix , is_regex ) self . debug_print ( "exclude_pattern: applying regex r'%s'" % pattern_re . pattern ) for i in range ( len ( self . files ) - 1 , - 1 , - 1 ) : if pattern_re . search ( self . files [ i ] ) : self . debug_print ( " removing " + self . files [ i ] ) del self . files [ i ] files_found = 1 return files_found