Correctly escape for regex creation - fixes extension not working on many sites (e.g. reddit.com)

Prevents reserved regex tokens in "words" from throwing unhandled errors on replace pattern creation.