client filters will accept string, function, or re function now