Changed line regex, fixes #1