using KMP algorithm for find the location of line hash in the content. return the index of the first line hash if found. return -1 if not found. better worst-case performance
using KMP algorithm for find the location of line hash in the content. return the index of the first line hash if found. return -1 if not found. better worst-case performance