Add table grep function.