Update cmfilter.py

re.search(pattern, string, flags=0) return None if no position in the string matches the pattern and 'bool(None) == False'
Merge pull request #151 from llasm/patch-1

Update regex_match in cmfilter.py