in reply to regex question: $1 vs. \1

I happened across this today, in the third edition of the Camel Book. On page 152, in the discussion of the s/// operator...
In the replacement string, $1 returns what the first ... pair of parentheses captured. (You could use also \1 as you would in the pattern, but that usage is deprecated in the replacement. ...)