Google's robust Diff Match and Patch algorithms to perform the operations required for synchronizing plain text.

Edit Package python-diff_match_patch
http://code.google.com/p/google-diff-match-patch/

1. Diff:
* Compare two blocks of plain text and efficiently return a list of differences.
* Diff Demo
2. Match:
* Given a search string, find its best fuzzy match in a block of plain text. Weighted for both accuracy and location.
* Match Demo
3. Patch:
* Apply a list of patches onto plain text. Use best-effort to apply patch even when the underlying text doesn't match.
* Patch Demo

Refresh
Refresh
Source Files
Filename Size Changed
diff_match_patch_20121119.zip 0000311049 304 KB
python-diff_match_patch.changes 0000001234 1.21 KB
python-diff_match_patch.spec 0000002434 2.38 KB
setup.py 0000001422 1.39 KB
Revision 1 (latest revision is 2)
Ludwig Nussel's avatar Ludwig Nussel (lnussel_factory) accepted request 430141 from Yuchen Lin's avatar Yuchen Lin (maxlin_factory) (revision 1)
Automatic request from openSUSE:Factory by F-C-C Submitter. Please review this change and decline it if Leap do not need it.
Comments 0
openSUSE Build Service is sponsored by