Dear Lyxers, I am trying out the new advanced search with regexes, and I cannot figure out how to use backreferences in the replace part of the dialog.
I am used to using \1 \2 etc. as back references to first match, second
match, etc., but if I try to replace dashes with en-dashes between numbers
with:
Find: ([0-9])-([0-9])
Replace: \1--\2
Lyx replaces the matched expressions with {\1--\2}.
There must be something quite basic I am overlooking.
Cheers,
Stefano
