What’s the right way of using regular expressions for path mapping? If I have a Linux path like /mnt/plugins/nuke/10.0/linux and I want to map it to \plugins\nuke\10.0\win64 on Windows, how can I do this?
There’s a bit of a problem here at the moment. The regex feature does not yet support capture groups. I’ll move that into feature request.
For now, you may need to map multiple folders. How many do you happen to have?
Sorry, it took a long time for me to reply.
We don’t have a lot of folders to map right now, but with each new version a path map for Windows and Linux needs to be added.
Capture groups would be great for this sort of thing.
Edwin is out of the country this week, but I will ask him to push for this to be elevated with the devs, if possible.
And now I’m back! I know we’re not going to have this in the pending 8.1 release, but I’ll keep pushing for you. These days, more core features allow path mapping, it’s not just a matter of changing assets so we should really support use cases where say, the OS is part of the path.