restored start of string matching