我有许多文件包含以下类型的行 -
* @version $Revision: 1.xxx
我希望在使用 winmerge 进行比较时忽略这种类型的行。我尝试过使用线路滤波器。但是,直到无法做到这一点。
有人可以在这方面帮助我吗?
你实际上可以这样做线路滤波器 http://manual.winmerge.org/Filters.html.
- Select the filter option from the Selection Dialog
- Go to the Linefilters tab, enable line filters and then compose a regular expression that matches lines you want to filter out.
- In the results, it will highlight filtered lines in a different color, but it won't treat them as differences in the individual file or folder summary.
在您的特定情况下,您需要找到与您的命名约定相匹配的正则表达式模式,但类似这样的内容应该有效:
@version \$Revision: \d\.\d* http://regexr.com/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)