I have a problem with a macro which consists of three replace operations. When executed, it performs the first two but not the last one. If these replace operations are performed manually in the same sequence as the macro, they work correctly. If the first two replaces are recorded as one macro and the third replace as a second macro, then running the two macros in sequence works correctly. I just cannot get all of them to run as a single macro.
The replace operations are:
Code: Select all
Find: "^\([[:upper:]]\)\([[:upper:]]*\)\n"
Repl: "\1\L\2: "
Find: "\n"
Repl: " "
Find: "[[:upper:]][[:lower:]]*: "
Repl: "\n\0"
I have tried the following variations: Posix-style regex, and using \n& in place of \n\0 but the result is always the same - these expressions will work if performed manually or if split into two macros, but not as a single macro.
Is it a bug or am I missing something?
Thanks,
fs