select pattern instead line
use selection as pattern