Google's robust Diff Match and Patch algorithms to perform the operations required for synchronizing plain text.
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
- Links to openSUSE:Leap:15.2 / python-dif...tch_patch
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.2:Rings:1-MinimalX/python-diff_match_patch && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000466 466 Bytes |
Revision 1 (latest revision is 22)
Ludwig Nussel (lnussel_factory)
committed
(revision 1)
copy from Factory
Comments 0