DiffIncludeMatches
是 Diff 及相关函数的一个选项,指定是否在生成的 DiffObject 中包含匹配的数据.
更多信息
- DiffIncludeMatches 可被设为 True、False 或 Automatic.
- 采用默认设置 Automatic 时,如果匹配元素序列较长,DiffIncludeMatches 将存储简短形式的序列.
- DiffIncludeMatchesTrue 将存储完整的匹配元素序列.
- DiffIncludeMatches 会影响如何查看 diff 的结果.
范例
打开所有单元关闭所有单元基本范例 (1)
默认情况下,Diff 可能不会在生成的 DiffObject 值包含所有匹配的元素:
用 DiffIncludeMatches 保存所有匹配的元素:
属性和关系 (1)
查看 DiffObject 通常或显示其中包含的所有匹配的元素:
Wolfram Research (2024),DiffIncludeMatches,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DiffIncludeMatches.html.
文本
Wolfram Research (2024),DiffIncludeMatches,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DiffIncludeMatches.html.
CMS
Wolfram 语言. 2024. "DiffIncludeMatches." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DiffIncludeMatches.html.
APA
Wolfram 语言. (2024). DiffIncludeMatches. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DiffIncludeMatches.html 年