For the empty string in the substitution process before passing to sanity check, I added the empty string as an attribute of the Filter object. That way, we can set the string to bytes string at creation time of the filter (one time per filter at the beginning of the script) instead of doing so before each substitution (ex: before each time we pass the string to sanity checks...yuck).
For the empty string in the substitution process before passing to sanity check, I added the empty string as an attribute of the Filter object. That way, we can set the string to bytes string at creation time of the filter (one time per filter at the beginning of the script) instead of doing so before each substitution (ex: before each time we pass the string to sanity checks...yuck).