fixed linefeed bug when source has line endings from different OS
Merge pull request #5 from jimjamjoh/master

normalize line endings before pattern matching