Hexadite/korg — pull request #4 by Hexadite-Max (2014-09-15 07:45:29+00:00)
Title: read lines support for files with \r\n

Special case for files with \r\n line breaks when running under POSIX. Apparently readlines() keeps line break and the carriage return which messes up the regex patterns.
Using splitlines() removes everything so we are good across all platforms.