In regex plugin of gedit, I use a regex to match/search and another for substitution. In the matching regex, I only have one group. In the substitution regex, I use \1 to refer to the group, and I also like to add a zero right behind \1, but \10 will change to mean the 10th group in matching regex. So I was wondering how to solve this problem?
For example, in my original text there are cases where
0 is misinput as
o, such as
12o should be
120. My matching regex is
(\d+)o, and my substitution regex is
\10 which is not right.