myers-diff
myers-diff copied to clipboard
Mode: "words" should use multiple delimiters
Hey there!
When using the library with compare: 'words', only spaces are used as the delimiter.
In reality new lines should also be considered a delimiter (and probably also tabs and a few more chars).
As of right now you will get quite weird diffs, if the word affected is at the start or end of a line, since the word in the next/previous line is considered to be part of the diff.
Otherwise: quite a nice little library :+1: