Tk-multi-publish2: Version regex

Hi, I know that I can solve this issue using my own path_info callback, but I think that the default implementation should be more robust.

It fails to remove the version token from more complex path like:
shot_001.FX.scene.v011.mantra1.1001.exr

My version regex proposal:
(.*)([._-])v(\d+)[._-]*(.*)$

I also think that there should be both match tests for version and frame pattern…

1 Like

Your best bet would be to fork the app, fix it and create a pull request with some more info so it can be reviewed and included :slight_smile:

ok, done :slight_smile: