Closed vkhatri closed 8 years ago
As I said in #3 the current path transformations are just string based and are not actually regex or path aware. I'll leave this open though and mark it as a possible future feature enhancement.
Closing this issue. There isn't really a need for different transformation modes. If you want to perform a more restricted/absolute path transformation you should just be more explicit in what you pass to the transform option. The documentation has been updated to make this more explicit.
Hi! This is relevant to #3
By default, transform matches oldkey anywhere in the consul kv.
It would be great to have another option or similar (e.g. -tranform-mode=absolute|regex) to perform an absolute left to right match on the kv.
e.g.