CompareIt 4.1.2171 regular expressions

Post your bug reports here.
Post Reply
everybyte
Posts: 3
Joined: Tue Jan 19, 2010 12:41 pm

CompareIt 4.1.2171 regular expressions

Post by everybyte »

I was using the following regex in replace mode:

\"\{.*\}\"
\"\{\}\"

It worked ok last year, but now that I compare again it does not work. Tested also in v4.2b CompareIt.
Looks like a date-dependent bug, maybe protection side effects are at work.
Curly brackets do not seem to be recognized as literals.
Basically I need to omit GUIDs in comparison

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Re: CompareIt 4.1.2171 regular expressions

Post by grigsoft »

It does work for me in tests. If second line is your Replace expression, you can try to change it to empty line.
Try using some simple test file - maybe something else in your file could be a reason for fail?

Do you see yellow icons marking RegExps replacements at all? Maybe you are using another profile?

everybyte
Posts: 3
Joined: Tue Jan 19, 2010 12:41 pm

Re: CompareIt 4.1.2171 regular expressions

Post by everybyte »

It looks like the substitution works if it is the _only_ difference in the line.

In case the is a second difference after matching expression (GUID) (this second is a no-matching expression) then
both are flagged as difference (in red color). So it is probably a display problem, rather than substitution problem

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Re: CompareIt 4.1.2171 regular expressions

Post by grigsoft »

Yes, that's a known bug\feature - regexps and other rules are used when comparing lines to each other, however when highlighting changes within lines almost nothing can be ignored.

everybyte
Posts: 3
Joined: Tue Jan 19, 2010 12:41 pm

Re: CompareIt 4.1.2171 regular expressions

Post by everybyte »

How difficult it is to fix this one?
Meaning, if it is in a month, then it is too late for me.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Re: CompareIt 4.1.2171 regular expressions

Post by grigsoft »

Yes, I'm afraid that will not be fixed in near time.

Post Reply