I have tested the problem reported here with various versions of UltraEdit starting with UE v18.104.22.1686 (for verification), continued with build 1028 and 1031 of v15.10, verified the problem also with v22.214.171.1247 (last v15.xx) and finally tested this issue with first v16.xx which was v16.00.0.1025.
This problem with saving a macro containing 1 or more ReplInFiles commands with an empty replace string interpreted as FindInFiles after reloading the macro is fixed in v16.00.0.1025 and all later versions.
What remains as problem caused by the syntax change of the ReplInFiles macro command in UE v14.20 and UES v9.00 (replace string moved up from line below ReplInFiles command to end of line with ReplInFiles command)
is following macro compilation issue I reported to IDM by email in summer 2009 which could be fixed only by changing the syntax back.
Mofi wrote:... For example if I want to write a macro containing following commands
ReplInFiles Log "C:\Temp\" "*.tmp" " " " " ""
the macro compiler must fail here to find out what I want to search for and what should be the replace string. Above is compiled as:
ReplInFiles Log "C:\Temp\" "*.tmp" " " " "
which would result in replacing all spaces by spaces. That was not my intention. In pre v14.20 syntax the command would be:
ReplInFiles Log "C:\Temp\" "*.tmp" " " "
You see now what the command should do: delete the space after a double quote character if a space is preceding the double quote character. ...
A workaround is to use a script instead of a macro. Also just recording macros using such search/replace strings and not editing such a recorded macro is a possible workaround. Another workaround would be to use the Perl regular expression engine and use \x22
instead of "
" the double quote character in the search/replace strings.