class SimpleCov::RegexFilter

def matches?(source_file)

regex configured when initializing this Filter with RegexFilter.new(/someregex/)
Returns true when the given source file's filename matches the
def matches?(source_file)
  (source_file.project_filename =~ filter_argument)
end