A fix for [[Home]]

Switched to regex to perform global replace, otherwise only the first occurrence of [[Home]] would be handled.