Require line matching is greedy for newlines.

This fixes an "off-by-one" bug when the require line is followed by one or more empty lines.