update line tagging regexp