Assistence

Post your bug reports here.
Dick
Posts: 3
Joined: Tue Jun 21, 2011 1:18 pm
Location: Netherlands

Assistence

Postby Dick » Tue Jun 21, 2011 1:22 pm

Hello, we just bought Compare It. I want to make a rule (RegEx). The linenumbers should be excluded in the compare action.
File nr. 1:
01 blabla
02 dfsdfsdf
003 werwe
N04 qwqwe

File nr. 2:
01 blabla
02 dfsdfsdf
03 werwe
04 qwqwe

As you see, the text in both files are similar. But the linenumers aren't. How can i make a rule so compare IT just looks at the text and not the linenumbers?

Thanis in advance.

Dick

Dick
Posts: 3
Joined: Tue Jun 21, 2011 1:18 pm
Location: Netherlands

Re: Assistence

Postby Dick » Wed Jun 22, 2011 8:26 am

In other words, i want to start comparing after the first space.
Does anyone have an idea?

TonHu
Posts: 100
Joined: Mon Sep 29, 2003 10:48 am
Location: Netherlands

Re: Assistence

Postby TonHu » Wed Jun 22, 2011 10:48 am

I've tried this one

Code: Select all

\s\w+(\s)+
with your data on http://www.regextester.com

Dick
Posts: 3
Joined: Tue Jun 21, 2011 1:18 pm
Location: Netherlands

Re: Assistence

Postby Dick » Wed Jun 22, 2011 11:12 am

Do i have to place it in Search(R1)?

And what 'Action' do i select? Ignore lines not matching R1?

Would you be so kind to sent some screenshots?

Thanks

TonHu
Posts: 100
Joined: Mon Sep 29, 2003 10:48 am
Location: Netherlands

Re: Assistence

Postby TonHu » Thu Jun 23, 2011 7:48 pm

I guess the regex engine used by CI! is quite different from the one at regextester.com. That's not nice :cry:

I got success by entering at R1:

Code: Select all

^\w+\s+
and selecting Replace. The enabling and naming you can figure out by yourself I guess 8)
All other settings for regex should be empty. I've been using the latest unicode release from Developers blog (15-05-2011, build 2242), but older releases should work as well.

Luck,
Ton


Return to “Compare It: Bug reports”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests