fixed the regular expression for modified lines