DiffIncludeMatches
is an option for Diff and related functions that specifies whether to include matching data in the resulting DiffObject.
Details
- DiffIncludeMatches can be set to True, False or Automatic.
- With the default setting of Automatic, DiffIncludeMatches stores an abbreviated form for matching sequences if they are longer than a few items.
- DiffIncludeMatchesTrue will store matching sequences in their entirety.
- DiffIncludeMatches has an impact on how the resulting changes can be viewed.
Examples
open allclose allBasic Examples (1)
By default, Diff may not include all matching elements in the resulting DiffObject:
Use DiffIncludeMatches to store all the matching elements:
Properties & Relations (1)
Viewing a DiffObject usually shows all the matches that are included:
Text
Wolfram Research (2024), DiffIncludeMatches, Wolfram Language function, https://reference.wolfram.com/language/ref/DiffIncludeMatches.html.
CMS
Wolfram Language. 2024. "DiffIncludeMatches." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiffIncludeMatches.html.
APA
Wolfram Language. (2024). DiffIncludeMatches. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiffIncludeMatches.html