increases version
uses /gi so that we are able to iterate over the matches
refactors test
adds test for multiline texts
refactors util functions, turns the checking line-by-line