find.c added pattern matching