add non-mutator method, pass hash to gsub