Changed match to =~ , and altered regex for commit log file begins to not require end of line character