PDA

View Full Version : Rules in File-Compare


22-Mar-2006, 06:40 AM
Hello,

sorry if I just couldn't find it in the helpfile.
How can I define regular expressions in a file-report script?

THX

Chris
22-Mar-2006, 02:22 PM
You can't define regular expressions (inside rules) from a script. In the current version you have to define rules in an interactive session of BC. By default BC will use the first rule in the rules list (Rules section of Tools|Options) with a matching file extension, starting at the top of the list. This can be overridden by using the /rules= command line option when calling your script.

Setting rules settings from scripts is on our wish list for the future.