I think you're missing the plot here, I've already agreed with the indentation change in order to create consistency. 

`$0 $1 $2 $3` It is convention, when doing a regex replace to prepend your matches in order with a $ in front of them since integers are not valid variable names. Because $0 is obvious to the reader that this represents the first match found, without reading (firstMatch)