more converting to pcre.  better init for filter.  faster filter. valgrind fix for filter.