Fixed issue where incorrect keyword was used

Keyword 'line' now replaces 'regexp' as regex matches are no longer
being used.