Regex ^

Post your bug reports here.
Post Reply
JPG
Posts: 109
Joined: Tue May 23, 2006 7:06 am

Regex ^

Post by JPG »

It might be me, but I can't seem to get ^ or \n etc to work in regex. Is this feature turned on?
Jon

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

Post by grigsoft »

Jon,
CompareIt always applies RegExps to single lines only, not for full text, so these matches doesn't work.

JPG
Posts: 109
Joined: Tue May 23, 2006 7:06 am

Post by JPG »

Oh I see. I had been using "Winmerge" and this did have the ability to do Regex search and replace on the whole file, I just assumed Compare It! was the same. No problem, thanks Igor.
Jon

JPG
Posts: 109
Joined: Tue May 23, 2006 7:06 am

Post by JPG »

So will you be adding regex so that the full file can be processed, it is very useful because regex can be very powerful and changs things you did not take into account.
Jon

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

Post by grigsoft »

Yes, this is in my to-do list, but for future. Right now there is some workaround for simple cases - using rule "ignore lines between R1 and R2"

JPG
Posts: 109
Joined: Tue May 23, 2006 7:06 am

Post by JPG »

grigsoft wrote:Yes, this is in my to-do list, but for future. Right now there is some workaround for simple cases - using rule "ignore lines between R1 and R2"
Thank you for listening.
Jon

Post Reply