formatFn, regex, flags, and function for Filters