returning new RegExp from current line