class_docstr: A list of files built by on exploring the filesystem and filtered by
  applying various patterns to what we find there.
  
  Instance attributes:
    dir
      directory from which files will be taken -- only used if
      'allfiles' not supplied to constructor
    files
      list of filenames currently being built/filtered/manipulated
    allfiles
      complete list of files under consideration (ie. without any
      filtering applied)
class_docstr_tok: ["A","list","of","files","built","by","on","exploring","the","filesystem","and","filtered","by","applying","various","patterns","to","what","we","find","there",".","Instance","attributes",":","dir","directory","from","which","files","will","be","taken","--","only","used","if","'allfiles","'","not","supplied","to","constructor","files","list","of","filenames","currently","being","built\/filtered\/manipulated","allfiles","complete","list","of","files","under","consideration","(","ie",".","without","any","filtering","applied",")"]
docstr: 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 True if files are found, False otherwise.
docstr_tok: ["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","True","if","files","are","found",",","False","otherwise","."]
code: 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 True if files are found, False otherwise.
      """
      files_found = False
      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 = True
      return files_found
  
imports: import os
  import re
  import fnmatch
  import functools
  from .util import convert_path
  from .errors import DistutilsTemplateError, DistutilsInternalError
  from ._log import log
label_desc: Use image node_id 12 for calling the FileList obj's underlying member method code with example usage: obj.exclude_pattern(pattern, anchor, prefix, is_regex) and returns: files_found