Copied from 62f2e689f4/java/src/name/fraser/neil/plaintext/diff_match_patch.java
62f2e689f4/java/src/name/fraser/neil/plaintext/diff_match_patch.java