Get into the habit of interpreting regex in a rather literal way.
Don't think ^cat matches if you have: a line with cat
at the beginning.
But rather ^cat mathces if you have: the beginning of a line, followed by c,
by a, ...
... 3 lines
FIND AT THE END ☆