meant to use re.search not re.match in filter.py