Add configuration for finding substring anywhere in line or start of line only