This is correct. According to the Camel book, the right hand
side of a substitution (//) is considered to be outside of the
regex. So the "special" variable (i.e. \1) is treated as a
"normal" scalar variable thus it can be interpolated there
because this side functions as if it was a double quoted string.