Make sure the change the keyword strings as needed before they are pattern compiled.