PDA

View Full Version : How to disregard some lines?


sam090
18-Oct-2007, 10:59 AM
I have a report where I want to disregard the page numbers since they are not important. Is there a way to tell BC to disregard some strings, like page numbers? Or, if not disregard it, highlight it differently so that when I go to find the next difference, it would skip going to the page number difference. If I have 2,000 pages and all are different page numbers, you can see that's a lot of scrolling.

kevinsikes
18-Oct-2007, 11:31 AM
In the file viewer, choose Tools - Edit current rules. Click the Importance tab. Click the New button under Unimportant Text. Choose Regular Expression and enter this text in the edit box:

^\s*Page \d+\s*$

You may have to modify this regex (additional whitespace between the word page and the digits, etc.) Keep a copy of the regex handy in your clipboard once you've got it tuned correctly, since you may want to create a persistent rule with this unimportant text setting for viewing diffs in the future.