allows direct use of regex to filter