Go Back   Scooter Forums > Beyond Compare 3 Discussion > Scripting
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 02-Jul-2012, 02:38 PM
ulf ulf is offline
New User
 
Join Date: Jun 2012
Posts: 2
Question conditional rules ?

Hello

I have the settings, that strings (words between "") are handled as important differences normally.

I want to leave it so - with one special exception. The exception is that there can be a special word within the "". And if that is detected the string shall be handled as UNimportant.

Is that anyhow possible to configure?
Reply With Quote
  #2  
Old 02-Jul-2012, 04:43 PM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 5,416
Default

Hello,

Please try this: create a new grammar element of type Basic, with a regular expression of:
".*unimportantword.*"

Then mark this new grammar element name as unimportant by default. You might need to move the 'unimportant' element to be higher in the file format list than the regular string entry.
__________________
Aaron P Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 09:19 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.