The original regex failed to account for short lines being padded to the length of the longest error.