line pattern and make pattern spec