8.1.2 replacement \\\i does not execute \i
Posted: Sun Mar 18, 2018 3:26 pm
The replacement \\\i should output a literal backslash and then an increment per match, so matches are replaced with the texts "\1", "\2", "\3" etc. But that's not the case.
However, if I use the replacement \\ \i the output is as expected: "\ 1", "\ 2", "\ 3" etc. But I don't want another character between the backslash and the increment.
To me this looks like a bug, as there's no way to achieve what I want (in one step).
However, if I use the replacement \\ \i the output is as expected: "\ 1", "\ 2", "\ 3" etc. But I don't want another character between the backslash and the increment.
To me this looks like a bug, as there's no way to achieve what I want (in one step).