sstephenson/prototype — comment on commit 20e0bd52b41bcc4e65e7fb6d62f74116530838a4
File: src/prototype/lang/hash.js line 296
By jdalton:

is `gsub` really necessary? a normal `value.replace(...)` and a regexp with a `g` flag will do.