google-diff-match-patch

repository·master·Indexed 27 days ago

https://github.com/google/diff-match-patch

A library providing robust algorithms for text synchronization, including diffing to compare text blocks, fuzzy matching for search strings, and best-effort patching. Available in C++, C#, Dart, Java, JavaScript, Lua, Objective C, and Python.

Tokens
184
Snippets
0
Records
2
Agent score
43%

What's inside diff-match-patch

  1. Overview of Diff Match and Patch capabilities

    master

    The Diff Match and Patch libraries provide three core operations for synchronizing plain text:

    1. Diff: Compares two blocks of plain text and returns an efficient list of differences.
    2. Match: Finds the best fuzzy match for a search string within a block of plain text, weighted for both accuracy and location.
    3. Patch: Applies a list of patches to plain text using a best-effort approach, even if the underlying text has changed slightly.
  2. Available language implementations

    master

    Diff Match and Patch is available in multiple languages. While the API is standardized across implementations, you should check language-specific notes for nuances in your target environment.

    Supported languages:

    • C++
    • C#
    • Dart
    • Java
    • JavaScript
    • Lua
    • Objective C
    • Python