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

\1 and $1 mean different things, most of the time.