I am running LO 126.96.36.199 with Java 1.8.0_111 under Windows 7 Pro.
I cannot understand the replace function in Find & Replace with ‘Regular Expressions’ selected. For instance if I have
apple ant awkward any
and search using either ‘Find All’, ‘Find Previous’ or ‘Find Next’ then the leading a’s are highlighted. However when I try to replace them with say ‘o’ and repeatedly click ‘Replace’ then the highlight cycles through all the a’s but they are not replaced.
If I click ‘Replace All’ than all the leading a’s are replaced. If I tick ‘Replace Backwards’ then the a’s are replaced sequentially starting with ‘any’. If the leading a is also at the start of the line then ‘Replace’ works but not otherwise.
What do I need to do to be able to replace one instance at a time?
(If I simply search for ‘a’ then the Replace button works just fine but it also replaces a’s in the middle of words.)