Fix bug where regex replacements were not being applied