This change has to touch a bunch of different locations but it's the same regex. Perhaps this regex could be extracted to a constant and then that constant could be referenced in each `newvalue`?