Page 1 of 1

Synchronize It! -- Add support for regular expression

Posted: Thu May 25, 2006 3:29 pm
by Guest
Could you add support for regular expressions to Synchronize It? You could compare the files using existing comparison algorthym and then apply the regular expressions to the files that are different. The files could be marked as approxamately equal if they match after applying the regular expressions.

Posted: Thu May 25, 2006 4:22 pm
by grigsoft
Can you describe few samples of using?


Posted: Mon Sep 17, 2007 3:53 pm
by s1a1blum
I have several different directories of code sql command etc.. dump form my source control of choice... Now I get an update from our overseas developer and I want to see all the defferences but ignore any comment changes or SQL settings (ie differences in SET QUOTED_IDENTIFIER)... just differences in the logic...

I didn't really start the thread but here is my example...

Posted: Tue Sep 18, 2007 6:23 am
by grigsoft
Thank you for comment! My question was whether RegExp would be used for files content comparison, or for some folder level purposes. Smart files comparison will be solved by invoking CompareIt for this purpose - there is no reason to duplicate functionality.

Final comments...

Posted: Tue Sep 18, 2007 1:55 pm
by s1a1blum
Thanks for the quick response back. I must say these tools are the best development tool investment I've made!!!

I understand the reason you may not want to duplicate the functionality. But for this use their absolutely is a reason. I am currently as you suggest using CompareIt! to examine the differences Synchronize It! identified. Synchronize It! lists some 300 files as different and then each of the 300 has to be opened in CompareIt! to identify the 10 or 20 files that actually have material differences.

Fortunately very rarely do I have to help out the SQL team with this update. Since this was my first time. I attempted to use the standard tool used by my MSSQL colleagues MS DB-Pro. This application similar to Synchronize It! identified some 300 files unfortunately DB-pro's only method to compare the logic was to scroll through each of the 300 files to identify the 10-20 actual differences. I am loving the capabilities of the Compare It id just rather only have to open 10 and not 300 files!!

Posted: Wed Sep 19, 2007 6:51 am
by grigsoft
I'm sorry, I have not explained it properly. Check this topic, for example - .
What I meant is Synchronize It!will be able to call CompareIt internally to check if files are identical. CompareIt will use it's own rules (including upcoming different comparison rules for different files).

Posted: Thu Sep 11, 2008 1:56 pm
by erics96
Has any support for this been added? I also use regular expressions in my Compare It! to pull out RCS tags, but when I use synchronize it to compare multiple directories, these "identical" files are not filtered out like I would expect them to be since Compare It! is used as my comparator and it indicates that the files are identical. Am I just missing the configuration option to have Synchronize It! use the result from Compare It! to list whether the file is identical?

I am running Sync 3.4 and Compare 4.0.

Posted: Thu Sep 11, 2008 2:31 pm
by grigsoft
No, this is not yet inplemented.

Posted: Fri Sep 12, 2008 12:43 pm
by erics96
Any timeframe when you think this may be supported? :)

Posted: Mon Sep 15, 2008 8:07 am
by grigsoft
I will try to add it in next update.

Posted: Wed May 27, 2009 1:41 pm
by digitalfreak
Are there any news about this feature?
Its a personaly long awaited feature of me.

Posted: Wed May 27, 2009 2:46 pm
by grigsoft
Do you mean using CompareIt from Synchronize It! to smartly compare files?

Posted: Thu May 28, 2009 1:42 pm
by digitalfreak
Yes I mean Using CompareIt !at its algorithm from Synchronize It! to have reg-exp support.