in reply to Re: Finding files excluding somein thread Finding files excluding some
I think there should be only one negation. As only *.a and *.o should be ignored, the inner rule should be ...->name('*.[ao]').
Alexander