add string match, KMP