find\replace 'captured' problem
Posted: 2007-10-02 06:33:24
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.
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.