We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
we have the following behavior:
coffee> diff = require 'diff' # works as expected coffee> diff.diffWords("hase igel fuchs", "hase igel fuchs") [ { value: 'hase igel fuchs' } ] # newline at righthand results in a change coffee> diff.diffWords("hase igel fuchs", "hase igel fuchs\n") [ { count: 5, value: 'hase igel fuchs' }, { count: 1, added: true, removed: undefined, value: '\n' } ] # newline at lefthand results in a change coffee> diff.diffWords("hase igel fuchs\n", "hase igel fuchs") [ { count: 5, value: 'hase igel fuchs' }, { count: 1, added: undefined, removed: true, value: '\n' } ] # newline in the middle words also as expected coffee> diff.diffWords("hase igel fuchs", "hase igel\nfuchs") [ { value: 'hase igel\nfuchs' } ]
when we read the documentation right, every whitespace should be ignored when using diffWords.
diffWords
Any thoughts on that?
/cc @Partyschaum
The text was updated successfully, but these errors were encountered:
see #68.
Sorry, something went wrong.
da522e3
Released in 2.1.0
No branches or pull requests
we have the following behavior:
when we read the documentation right, every whitespace should be ignored when using
diffWords
.Any thoughts on that?
/cc @Partyschaum
The text was updated successfully, but these errors were encountered: