Restrict searches to the same line.

This prevents a case where, there not being a variable on the current
line, the search matches on another line — one after wrapping around to
the end of the file, even — and changes something you very much don't
expect to change.

Fixes #1
Merge branch 'same-line-matches'

* same-line-matches:
  Restrict searches to the same line.