pattern match reading

Optionally pass in a regex pattern to return only logs that match that pattern