PDA

View Full Version : need help with unimportant text


brett
02-Sep-2005, 01:00 PM
howdy,

i've tried many unimportant text rules (delimited and regexp) - i've searched and read the forums - i've gotta be missing something - please help!

i have source code CM tags that i need to ignore

i need the following two blocks to be considered unimportant - otherwise i'll have to go through thousands of files unnecessarily

-------
$Log: bla bla$
-------
$Log:
bla bla
$
-------

tia,
brett

ps. i love BC - if it can do this, i'll love it even more

Chris
02-Sep-2005, 04:07 PM
To ignore this text, select Tools|Edit Current Rules and go to the Importance tab.
In the Unimportant Text section, click New.
Select the Delimited category.
Enter $Log: as the starting delimiter and $ as the closing delimiter.
Click OK until you're back to the main File Viewer window.
Make sure View|Ignore Unimportant Differences is turned on.

If that doesn't mark the text unimportant, try removing any String literals that you've defined.

brett
06-Sep-2005, 08:32 AM
howdy,

this is what i had done

it was still showing differences between the 2 sections - but, apparently, it was whitespace differences

i created 2 rules, both with $Log: and $, one with the "stopping at end of line" enabled, one without

then i set all whitespace to be ignored

that seems to do the trick - the files are marked as "similar" (so, i guess, the unimportant text isn't really ignored, it's put into a "similar" bucket)

this is now doing what i need

thanks,
brett

ps. BC rocks!