I'm not sure about SED, but in many languages (javascript, ruby), that have regex implementations that allow for submatching (or backreferencing as it is sometimes called), only support \1 through \9. \10 is simply not allowed.
Any additional backreferencing would require the use of a more sophisticated parser.