google / diff-match-patch

Diff Match Patch is a high-performance library in multiple languages that manipulates plain text.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add support java equals ignore case

JCASTANO opened this issue · comments

please add support for equals ignore case, so that it can be enabled or disabled

DiffMatchPatch dmp = new DiffMatchPatch();
LinkedList diffs = dmp.diffMain("Juan", "juan");
dmp.diffCleanupSemantic(diffs);

is there any support for case inequality anywhere else in the project, in the other language libraries?

are you specifically asking for case-inequality in the en_US locale? it would be important to make sure that the computer generating the diff doesn't apply different casing rules than the computer applying the patch, as locale differences could lead to corruption.