Reply to topic  [ 3 posts ] 
find\replace 'captured' problem 
Author Message

Joined: 2006-08-19 18:35:27
Posts: 213
I am moving from NWE to NWP, trying to 'convert' find/replace saved expressions. Due to earlier translations problems from NW6 to NWE, I had to construct the following find/replace expressions, to switch direction for numbers in written in hebrew files:

NWE find expression: ([0-9])([0-9])?([0-9])?([0-9])?([0-9])?
to find any sequence of digits (max length of 5)

NWE replace expression: \5\4\3\2\1

for some reason, in NWP the replace expression results in "\5\4\3\2\1 " and not in the actual captured numbers.
example: number 87654 should be replaced with 45678 but it is replaces with \5\4\3\2\1.

I tried also with the new "captured" option, same result.

what am I doing wrong?

thanks in advance.


2007-10-02 06:33:24
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
Post 
There's nothing wrong with your expressions as far as I can see. Are you sure you're in PowerFind Pro mode? I suppose you'd have to be, otherwise you wouldn't match any numbers to begin with.

Can you please send in a feedback report with:

1. a screenshot that shows the Find & Replace window.
2. the document you are working on.

That would help us diagnose the problem.


2007-10-02 13:22:35
Profile WWW

Joined: 2006-08-19 18:35:27
Posts: 213
I can not understand what happened. suddenly it started to work, both in the powerfind option and in the powerfind pro. maybe it had to do with the fact that the expressions were saved with NWE? when clearing everything and re-typing them something 'put them to order..'.

strange, but thanks anyway.


2007-10-02 21:00:10
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

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


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software