Update string_matcher.py

New search heuristic added.