sub to gsub with comments