I have recently been dealing with some incredibly long regexes used to manipulate a CSV, so the regexes are set up to group each column as its own group. However, there’s a snag as \10 in the replace field is interpreted as group 1, literal 0, rather than the 10th captured group. Upon discovering this limitation, I looked into using named groups with the (?group) syntax. The group appears to be captured (which is to say, the syntax is parsed and the appropriate group is highlighted in the file), but I can’t seem to find which syntax is supposed to be used to reference these named groups in the replace field.
I’ve attempted both \g{name}, and \k as suggested on the boost (perl) syntax documentation which Sublime supposedly uses, but to no avail. I’ve also attempted {name}, \name, <name>, $name, ${name}, $, \g, and \k{name}, and each of these is interpreted literally.
I’m at a loss. Are named groups accessible at all within the replace field? Failing that, is there some way to refer to numbered groups larger than \9?