andrew-sayers--slando/history.js — comment on commit 3c567694be6e63b5ec68d6e0f2f25d1015c5df75
File: scripts/uncompressed/history.js line 1016
By hrunting:

Is that necessary? The regex form of the replace regex "/%25/g" indicates that it's a global match. That looks like a strange hybrid between the str.replace() function and the RegExp constructor.

http://objjob.phrogz.net/js/method/704

str.replace() only takes two arguments.