Changed from regex to exact matches

Exact line matches are now being used instead of regex matches to remove
ambiguity and increase accuracy.