Add feature to allow for regular expressions to be passed as term filters