reset the regexp state before each use + match the actual length of the line comment style when cleaning line matches