Fix #2755: Positional operator update broken for > 10 objects.

The regex replaces only a single digit, it needs to replace the whole number.