Possible solutions: - If the `keyword` is longer than the`target`, the two ends are trimmed off in the `target` loop instead of the `keyword`.