Add support for $1, $2, etc. in print-expressions.