Update StringMatching.h

fix bug