match and search any pattern