If you want to ignore something that can't be handled by a replacements because the to-state isn't easily defined such as mismatching page numbers you need to use a regular expression grammer to ignore certain strings.
In my case I needed to ignore Page numbers in a document footer
Here is how to do it:
- Load your comparison in Beyond Compare
- Click the Rules toolbar button (referee icon).
- On the Importance tab, click Edit Grammar.
- Click New.
- In Text matching enter your regex e.g. "Page\s\d{1,3}\sof\s\d{1,3}"
- Tick Regular Expression
- Click OK.
- Click OK.
- Un-check the element in the Grammar elements list to make it unimportant.
- Click OK
Your grammar should now be marked as unimportant (blue text)
No comments:
Post a Comment